From 9d61d1cab12fe539568b10ca614c9c075c263724 Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Wed, 30 Apr 2014 15:03:56 +0200 Subject: [PATCH] Bugfix for logic error in sql queue for ical (paused shows) Fixes: https://github.com/echel0n/SickBeard-TVRage/issues/243 --- sickbeard/webserve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py index 7a81316c..476c792f 100644 --- a/sickbeard/webserve.py +++ b/sickbeard/webserve.py @@ -3677,7 +3677,7 @@ class WebInterface: # Get all the shows that are not paused and are currently on air (from kjoconnor Fork) calendar_shows = myDB.select( - "SELECT show_name, indexer_id, network, airs, runtime FROM tv_shows WHERE status = 'Continuing' OR status = 'Returning Series' AND paused != '1'") + "SELECT show_name, indexer_id, network, airs, runtime FROM tv_shows WHERE ( status = 'Continuing' OR status = 'Returning Series' ) AND paused != '1'") for show in calendar_shows: # Get all episodes of this show airing between today and next month episode_list = myDB.select(