diff options
author | morpheus65535 <[email protected]> | 2018-08-15 22:21:16 -0400 |
---|---|---|
committer | morpheus65535 <[email protected]> | 2018-08-15 22:21:16 -0400 |
commit | 0a3ccbb1c27f4278d430038f7d1635dae5539975 (patch) | |
tree | 15a71ea8e6e064bd838029eb764f8ef192134b7e /bazarr.py | |
parent | 9b59368b06c60054912660b22d00f502f253ae0b (diff) | |
download | bazarr-0a3ccbb1c27f4278d430038f7d1635dae5539975.tar.gz bazarr-0a3ccbb1c27f4278d430038f7d1635dae5539975.zip |
Final fix for #85 ... I hope...
Diffstat (limited to 'bazarr.py')
-rw-r--r-- | bazarr.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)
|