summaryrefslogtreecommitdiffhomepage
path: root/bazarr.py
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2018-08-15 22:21:16 -0400
committermorpheus65535 <[email protected]>2018-08-15 22:21:16 -0400
commit0a3ccbb1c27f4278d430038f7d1635dae5539975 (patch)
tree15a71ea8e6e064bd838029eb764f8ef192134b7e /bazarr.py
parent9b59368b06c60054912660b22d00f502f253ae0b (diff)
downloadbazarr-0a3ccbb1c27f4278d430038f7d1635dae5539975.tar.gz
bazarr-0a3ccbb1c27f4278d430038f7d1635dae5539975.zip
Final fix for #85 ... I hope...
Diffstat (limited to 'bazarr.py')
-rw-r--r--bazarr.py2
1 files changed, 1 insertions, 1 deletions
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)