Added feature that will auto-detect the SickBeard fork

This commit is contained in:
echel0n 2014-03-20 23:25:36 -07:00
commit 351215add1
7 changed files with 113 additions and 36 deletions

View file

@ -60,10 +60,7 @@ def migrate():
option = "sbCategory"
if option == "failed_fork": # change this old format
option = "fork"
if int(value) == 1:
value = "failed"
else:
value = "default"
value = "auto"
if option == "outputDirectory": # move this to new location format
value = os.path.split(os.path.normpath(value))[0]
confignew.set("Torrent", option, value)