mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Updated migration code to compliment the new fork names we use
This commit is contained in:
parent
b7d348e710
commit
9942fee63d
1 changed files with 3 additions and 0 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue