From 475754a63e58827e0f42e9b4be02408bbf51d48d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Thu, 16 Nov 2017 13:55:37 -0500 Subject: [PATCH] Test --- get_subtitle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_subtitle.py b/get_subtitle.py index 09b6641c7..fd45f6416 100644 --- a/get_subtitle.py +++ b/get_subtitle.py @@ -58,7 +58,7 @@ def wanted_download_subtitles(path): #c_db = conn_db.cursor() #episodes_details = c_db.execute("SELECT table_episodes.path, table_episodes.missing_subtitles, table_episodes.sonarrEpisodeId, table_episodes.sonarrSeriesId, table_shows.hearing_impaired FROM table_episodes INNER JOIN table_shows on table_shows.sonarrSeriesId = table_episodes.sonarrSeriesId WHERE table_episodes.path = ? AND missing_subtitles != '[]'", (path_replace_reverse(path),)).fetchall() #enabled_providers = c_db.execute("SELECT name FROM table_settings_providers WHERE enabled = 1").fetchall() - conn.close() + conn_db.close() #providers_list = [] #for provider in enabled_providers: