Fixup use of _glob_translation

This commit is contained in:
tcely authored and GitHub committed 2024-12-18 03:18:17 -05:00
1 parent 40aed6fc5b
commit 4b17c08fa5
1 file changed
+1 -1
+1 -1
View File
@@ -1535,7 +1535,7 @@ class Media(models.Model):
stem = Path(stem.stem)
old_stem = stem
old_prefix_path = old_video_path.parent
glob_prefix = str(old_stem).translate(_glob_translation)
glob_prefix = str(old_stem).translate(self._glob_translation)
other_paths = list(old_prefix_path.glob(glob_prefix + '*'))
new_video_path.parent.mkdir(parents=True, exist_ok=True)