Merge pull request #288 from echel0n/dev

Added feature that will auto-detect the SickBeard fork
This commit is contained in:
Clinton Hall 2014-03-21 20:24:56 +10:30
commit c74f9d08a9
8 changed files with 787 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)