mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-01-21 14:17:56 +08:00
Use absolute path
This commit is contained in:
parent
8149ee162c
commit
806648043f
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ from list_subtitles import *
|
|||
from utils import *
|
||||
|
||||
# configure the cache
|
||||
region.configure('dogpile.cache.dbm', arguments={'filename': 'cachefile.dbm'})
|
||||
region.configure('dogpile.cache.dbm', arguments={'filename': os.path.join(os.path.dirname(__file__), 'data/cache/cachefile.dbm')})
|
||||
|
||||
def download_subtitle(path, language, hi, providers):
|
||||
video = scan_video(path)
|
||||
|
|
Loading…
Reference in a new issue