From 4b17c08fa58a57416ca98ab87e1d260922db93c5 Mon Sep 17 00:00:00 2001 From: tcely Date: Wed, 18 Dec 2024 03:18:17 -0500 Subject: [PATCH] Fixup use of _glob_translation --- tubesync/sync/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubesync/sync/models.py b/tubesync/sync/models.py index 9f6365f5..d73d276f 100644 --- a/tubesync/sync/models.py +++ b/tubesync/sync/models.py @@ -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)