mirror of
https://github.com/meeb/tubesync.git
synced 2025-06-21 20:46:36 +00:00
Set fuzzy_paths
to an empty list by default
This commit is contained in:
parent
54ee219ccb
commit
bcd758c028
@ -1162,6 +1162,7 @@ class Media(models.Model):
|
|||||||
log.info(f'Collected {len(other_paths)} other paths for: {self!s}')
|
log.info(f'Collected {len(other_paths)} other paths for: {self!s}')
|
||||||
|
|
||||||
# adopt orphaned files, if possible
|
# adopt orphaned files, if possible
|
||||||
|
fuzzy_paths = list()
|
||||||
media_format = str(self.source.media_format)
|
media_format = str(self.source.media_format)
|
||||||
top_dir_path = Path(self.source.directory_path)
|
top_dir_path = Path(self.source.directory_path)
|
||||||
if '{key}' in media_format:
|
if '{key}' in media_format:
|
||||||
|
Loading…
Reference in New Issue
Block a user