From c0cf45830c57d1b95e3d852da209d649f7593111 Mon Sep 17 00:00:00 2001 From: echel0n Date: Tue, 15 Jul 2014 10:26:01 -0700 Subject: [PATCH] Fix for processEpisode to accept both "on" and "1" as True conditions when passing in options for post-processing from scripts such as nzbToMedia. --- sickbeard/webserve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index 5edaa9ab..f2d00ab7 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -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