diff --git a/modules/config.py b/modules/config.py index c1df50e..aaf5ef1 100644 --- a/modules/config.py +++ b/modules/config.py @@ -293,7 +293,7 @@ class Config: if "cat" in self.data and self.data["cat"] is not None: cat_path = self.data["cat"] for cat, save_path in cat_path.items(): - if save_path == path: + if os.path.join(save_path, '') == path: category = cat break