Set fuzzy_paths to an empty list by default

This commit is contained in:
tcely 2025-06-12 16:49:40 -04:00 committed by GitHub
parent 54ee219ccb
commit bcd758c028
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1162,6 +1162,7 @@ class Media(models.Model):
log.info(f'Collected {len(other_paths)} other paths for: {self!s}')
# adopt orphaned files, if possible
fuzzy_paths = list()
media_format = str(self.source.media_format)
top_dir_path = Path(self.source.directory_path)
if '{key}' in media_format: