mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-12 19:12:26 -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:
parent
a912140ec5
commit
9d61d1cab1
@ -3677,7 +3677,7 @@ class WebInterface:
|
|||||||
|
|
||||||
# Get all the shows that are not paused and are currently on air (from kjoconnor Fork)
|
# Get all the shows that are not paused and are currently on air (from kjoconnor Fork)
|
||||||
calendar_shows = myDB.select(
|
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:
|
for show in calendar_shows:
|
||||||
# Get all episodes of this show airing between today and next month
|
# Get all episodes of this show airing between today and next month
|
||||||
episode_list = myDB.select(
|
episode_list = myDB.select(
|
||||||
|
Loading…
Reference in New Issue
Block a user