fix: settings has no download_path anymore

This commit is contained in:
Bluefissure
2023-03-14 18:36:59 +00:00
parent 278d23f3b9
commit b9019e2265
2 changed files with 2 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ class RePath:
path = rules.get(rule).savePath
must_contain = rules.get(rule).mustContain
season, folder_name = self.analyse_path(path)
new_path = PurePath(settings.download_path, folder_name, f"Season {season}").__str__()
new_path = PurePath(settings.downloader.path, folder_name, f"Season {season}").__str__()
all_rule.append(RuleInfo(rule, must_contain, season, folder_name, new_path))
return all_rule