1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2024-12-26 01:27:07 +00:00

Cleaner log file path

This commit is contained in:
morpheus65535 2017-12-13 12:55:03 -05:00
parent c2aec75e17
commit d172c6b268

View file

@ -99,7 +99,7 @@ def emptylog():
@route(base_url + 'bazarr.log') @route(base_url + 'bazarr.log')
def download_log(): def download_log():
return static_file('bazarr.log', root='data/log/', download='bazarr.log') return static_file('bazarr.log', root=os.path.join(os.path.dirname(__file__), 'data/log/'), download='bazarr.log')
@route(base_url + 'image_proxy/<url:path>', method='GET') @route(base_url + 'image_proxy/<url:path>', method='GET')
def image_proxy(url): def image_proxy(url):