mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-04 05:52:24 +08:00
Test
This commit is contained in:
parent
00aec30e15
commit
2fcfa65a31
2 changed files with 4 additions and 4 deletions
|
@ -20,6 +20,9 @@ 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 *
|
||||
|
@ -215,6 +218,7 @@ def wanted_search_missing_subtitles_list():
|
|||
ref = request.environ['HTTP_REFERER']
|
||||
|
||||
wanted_search_missing_subtitles()
|
||||
tracker.print_diff()
|
||||
|
||||
redirect(ref)
|
||||
|
||||
|
|
|
@ -8,9 +8,6 @@ from get_general_settings import *
|
|||
from list_subtitles import *
|
||||
from utils import *
|
||||
|
||||
from pympler.tracker import SummaryTracker
|
||||
tracker = SummaryTracker()
|
||||
|
||||
# configure the cache
|
||||
region.configure('dogpile.cache.dbm', arguments={'filename': os.path.join(os.path.dirname(__file__), 'data/cache/cachefile.dbm')})
|
||||
|
||||
|
@ -79,4 +76,3 @@ def wanted_search_missing_subtitles():
|
|||
|
||||
for episode in data:
|
||||
wanted_download_subtitles(episode[0])
|
||||
tracker.print_diff()
|
||||
|
|
Loading…
Reference in a new issue