mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-01 12:32:25 +08:00
Test
This commit is contained in:
parent
4ac8816937
commit
5380e07975
2 changed files with 7 additions and 4 deletions
|
@ -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…
Reference in a new issue