mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-07-30 11:38:30 -07:00
Merge pull request #288 from echel0n/dev
Added feature that will auto-detect the SickBeard fork
This commit is contained in:
commit
c74f9d08a9
8 changed files with 787 additions and 36 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue