This commit is contained in:
Louis Vézina 2017-11-16 13:26:09 -05:00
parent 4ac8816937
commit 5380e07975
2 changed files with 7 additions and 4 deletions

View File

@ -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)

View File

@ -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()