mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-16 14:25:02 -05:00
Fix for processEpisode to accept both "on" and "1" as True conditions when passing in options for post-processing from scripts such as nzbToMedia.
This commit is contained in:
parent
2fec443c37
commit
c0cf45830c
@ -2557,12 +2557,12 @@ class HomePostProcess(MainHandler):
|
||||
else:
|
||||
failed = True
|
||||
|
||||
if force == "on":
|
||||
if force in ["on", "1"]:
|
||||
force = True
|
||||
else:
|
||||
force = False
|
||||
|
||||
if is_priority == "on":
|
||||
if is_priority in ["on", "1"]:
|
||||
is_priority = True
|
||||
else:
|
||||
is_priority = False
|
||||
|
Loading…
Reference in New Issue
Block a user