mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 10:36:52 -07:00
Another quick fix for migrate code
This commit is contained in:
parent
af2efa18ee
commit
e1a3e1b6c0
1 changed files with 2 additions and 2 deletions
|
@ -60,9 +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:
|
||||
if value not in ["default", "failed", "failed-torrent", "auto"]:
|
||||
value = "auto"
|
||||
if option == "fork" and "default", "failed", "failed-torrent", "auto" not in value:
|
||||
if option == "fork" and value not in ["default", "failed", "failed-torrent", "auto"]:
|
||||
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