diff --git a/autoProcess/migratecfg.py b/autoProcess/migratecfg.py index a7b5fd50..d1e3e20b 100644 --- a/autoProcess/migratecfg.py +++ b/autoProcess/migratecfg.py @@ -60,9 +60,9 @@ def migrate(): option = "sbCategory" if option == "failed_fork": # change this old format option = "fork" - if "default", "failed", "failed-torrent", "auto" not in value: + if value not in ["default", "failed", "failed-torrent", "auto"]: value = "auto" - if option == "fork" and "default", "failed", "failed-torrent", "auto" not in value: + if option == "fork" and value not in ["default", "failed", "failed-torrent", "auto"]: value = "auto" if option == "outputDirectory": # move this to new location format value = os.path.split(os.path.normpath(value))[0]