mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-02-13 17:33:08 +08:00
Test
This commit is contained in:
parent
43abd5c3fb
commit
e049c1902f
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,8 @@ from get_general_settings import *
|
||||||
from list_subtitles import *
|
from list_subtitles import *
|
||||||
from utils import *
|
from utils import *
|
||||||
|
|
||||||
from memory_profiler import profile
|
from pympler.tracker import SummaryTracker
|
||||||
|
tracker = SummaryTracker()
|
||||||
|
|
||||||
# configure the cache
|
# configure the cache
|
||||||
region.configure('dogpile.cache.dbm', arguments={'filename': os.path.join(os.path.dirname(__file__), 'data/cache/cachefile.dbm')})
|
region.configure('dogpile.cache.dbm', arguments={'filename': os.path.join(os.path.dirname(__file__), 'data/cache/cachefile.dbm')})
|
||||||
|
@ -78,3 +79,4 @@ def wanted_search_missing_subtitles():
|
||||||
|
|
||||||
for episode in data:
|
for episode in data:
|
||||||
wanted_download_subtitles(episode[0])
|
wanted_download_subtitles(episode[0])
|
||||||
|
tracker.print_diff()
|
||||||
|
|
Loading…
Reference in a new issue