mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-20 16:43:43 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue