pull/26/head
Louis Vézina 7 years ago
parent 4ac8816937
commit 5380e07975

@ -20,9 +20,6 @@ from io import BytesIO
from fdsend import send_file
import urllib
from pympler.tracker import SummaryTracker
tracker = SummaryTracker()
from init_db import *
from get_languages import *
from get_providers import *
@ -218,7 +215,6 @@ def wanted_search_missing_subtitles_list():
ref = request.environ['HTTP_REFERER']
wanted_search_missing_subtitles()
tracker.print_diff()
redirect(ref)

@ -26,6 +26,13 @@ def download_subtitle(path, language, hi, providers):
except:
return None
del video
del best_subtitles
del result
del downloaded_provider
del downloaded_language
del message
def series_download_subtitles(no):
conn_db = sqlite3.connect(os.path.join(os.path.dirname(__file__), 'data/db/bazarr.db'))
c_db = conn_db.cursor()

Loading…
Cancel
Save