From 9942fee63df7fb0955e557219d2bfe4010b9db43 Mon Sep 17 00:00:00 2001 From: echel0n Date: Fri, 21 Mar 2014 03:31:29 -0700 Subject: [PATCH] Updated migration code to compliment the new fork names we use --- autoProcess/migratecfg.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/autoProcess/migratecfg.py b/autoProcess/migratecfg.py index 1ddb462f..a7b5fd50 100644 --- a/autoProcess/migratecfg.py +++ b/autoProcess/migratecfg.py @@ -60,6 +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: + value = "auto" + if option == "fork" and "default", "failed", "failed-torrent", "auto" not in value: value = "auto" if option == "outputDirectory": # move this to new location format value = os.path.split(os.path.normpath(value))[0]