From 0a3ccbb1c27f4278d430038f7d1635dae5539975 Mon Sep 17 00:00:00 2001 From: morpheus65535 <5130500+morpheus65535@users.noreply.github.com> Date: Wed, 15 Aug 2018 22:21:16 -0400 Subject: [PATCH] Final fix for #85 ... I hope... --- bazarr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bazarr.py b/bazarr.py index 9e2a5a814..56075d041 100644 --- a/bazarr.py +++ b/bazarr.py @@ -142,7 +142,7 @@ def redirect_root(): @route(base_url + 'static/:path#.+#', name='static') @custom_auth_basic(check_credentials) def static(path): - return static_file(path, root=os.path.join(config_dir, 'static')) + return static_file(path, root=os.path.join(os.path.dirname(__file__), 'static')) @route(base_url + 'emptylog') @custom_auth_basic(check_credentials)