1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Bugfix for logic error in sql queue for ical (paused shows)

Fixes: https://github.com/echel0n/SickBeard-TVRage/issues/243
This commit is contained in:
Prinz23 2014-04-30 15:03:56 +02:00
parent a912140ec5
commit 9d61d1cab1

View File

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