Merge pull request #289 from echel0n/dev

Fix to param setting code in autoProcessTV
This commit is contained in:
Clinton Hall 2014-03-21 22:03:49 +10:30
commit 719b4ed0ae
2 changed files with 12 additions and 6 deletions

View file

@ -60,6 +60,9 @@ def migrate():
option = "sbCategory"
if option == "failed_fork": # change this old format
option = "fork"
if value not in ["default", "failed", "failed-torrent", "auto"]:
value = "auto"
if option == "fork" and value not in ["default", "failed", "failed-torrent", "auto"]:
value = "auto"
if option == "fork" and value in ["TPB", "TPB-failed", "Pistachitos"]: # Merge all these to "auto"
value = "auto"