From f944604f79af87a7eaac1f703aee63d8267a369d Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 5 Sep 2014 22:02:16 +0800 Subject: [PATCH] Fix #3 for daily/backlog checkbox saving --- sickbeard/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sickbeard/config.py b/sickbeard/config.py index 9b98d2f3..ff3afbd7 100644 --- a/sickbeard/config.py +++ b/sickbeard/config.py @@ -250,6 +250,10 @@ def checkbox_to_value(option, value_on=1, value_off=0): Turns checkbox option 'on' or 'true' to value_on (1) any other value returns value_off (0) """ + + if type(option) is list: + option = option[-1] + if option == 'on' or option == 'true': return value_on