Fix for #1031. Indentation issue.

pull/1038/head
Louis Vézina 4 years ago
parent d6ddf76b68
commit 9759425aa5

@ -231,10 +231,10 @@ def list_missing_subtitles(no=None, epno=None, send_event=True):
database.execute("UPDATE table_episodes SET missing_subtitles=? WHERE sonarrEpisodeId=?", database.execute("UPDATE table_episodes SET missing_subtitles=? WHERE sonarrEpisodeId=?",
(missing_subtitles_item[0], missing_subtitles_item[1])) (missing_subtitles_item[0], missing_subtitles_item[1]))
if send_event: if send_event:
event_stream(type='episode', action='update', series=missing_subtitles_item[2], event_stream(type='episode', action='update', series=missing_subtitles_item[2],
episode=missing_subtitles_item[1]) episode=missing_subtitles_item[1])
event_stream(type='badges') event_stream(type='badges')
def list_missing_subtitles_movies(no=None, send_event=True): def list_missing_subtitles_movies(no=None, send_event=True):
@ -293,9 +293,9 @@ def list_missing_subtitles_movies(no=None, send_event=True):
database.execute("UPDATE table_movies SET missing_subtitles=? WHERE radarrId=?", database.execute("UPDATE table_movies SET missing_subtitles=? WHERE radarrId=?",
(missing_subtitles_item[0], missing_subtitles_item[1])) (missing_subtitles_item[0], missing_subtitles_item[1]))
if send_event: if send_event:
event_stream(type='movie', action='update', movie=missing_subtitles_item[1]) event_stream(type='movie', action='update', movie=missing_subtitles_item[1])
event_stream(type='badges') event_stream(type='badges')
def series_full_scan_subtitles(): def series_full_scan_subtitles():

Loading…
Cancel
Save