1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04: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:
echel0n 2014-07-15 10:26:01 -07:00
parent 2fec443c37
commit c0cf45830c

View File

@ -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