no log: fixed typo in SQL query

This commit is contained in:
morpheus65535 2021-05-13 06:32:51 -04:00
parent cf35f4a9d2
commit 9993f123f1
1 changed files with 1 additions and 1 deletions

View File

@ -747,7 +747,7 @@ def series_download_subtitles(no):
episodes_details = database.execute("SELECT table_episodes.path, table_episodes.missing_subtitles, monitored, "
"table_episodes.sonarrEpisodeId, table_episodes.scene_name, table_shows.tags, "
"table_shows.seriesType, table_episodes.audio_language, table_shows.title, "
"table_episodes.season, table_episodes.episode, table_episodes.title as episodesTitle "
"table_episodes.season, table_episodes.episode, table_episodes.title as episodeTitle "
"FROM table_episodes INNER JOIN table_shows on table_shows.sonarrSeriesId = "
"table_episodes.sonarrSeriesId WHERE table_episodes.sonarrSeriesId=? and "
"missing_subtitles!='[]'" + get_exclusion_clause('series'), (no,))