From 9b679e64526d9d5a5beebf66ee79568a9ac3dedd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Wed, 29 Nov 2017 10:41:46 -0500 Subject: [PATCH] godpile.cache memory caching to workaround fcntl bug under Windows --- get_subtitle.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/get_subtitle.py b/get_subtitle.py index 0dc1014cc..74d817340 100644 --- a/get_subtitle.py +++ b/get_subtitle.py @@ -9,7 +9,8 @@ from list_subtitles import * from utils import * # 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): video = scan_video(path)