mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-21 13:37:34 +00:00
godpile.cache memory caching to workaround fcntl bug under Windows
This commit is contained in:
parent
e53a0dd332
commit
9b679e6452
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ from list_subtitles import *
|
||||||
from utils import *
|
from utils import *
|
||||||
|
|
||||||
# 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')})
|
||||||
|
region.configure('dogpile.cache.memory')
|
||||||
|
|
||||||
def download_subtitle(path, language, hi, providers):
|
def download_subtitle(path, language, hi, providers):
|
||||||
video = scan_video(path)
|
video = scan_video(path)
|
||||||
|
|
Loading…
Reference in a new issue