diff --git a/bazarr/get_argv.py b/bazarr/get_argv.py index 5a2b27587..5f0ee372f 100644 --- a/bazarr/get_argv.py +++ b/bazarr/get_argv.py @@ -2,7 +2,7 @@ import os import sys import getopt -config_dir = os.path.join(os.path.dirname(__file__), '../data/') +config_dir = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'data') no_update = False try: diff --git a/bazarr/main.py b/bazarr/main.py index 05e94a628..5d39cd610 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -1463,8 +1463,8 @@ def system(): return template('system', __file__=__file__, bazarr_version=bazarr_version, sonarr_version=sonarr_version.json()['version'], radarr_version=radarr_version.json()['version'], - operation_system=platform.platform(), python_version=platform.python_version(), - config_dir=config_dir, bazarr_dir=os.getcwd(), + operating_system=platform.platform(), python_version=platform.python_version(), + config_dir=config_dir, bazarr_dir=os.path.normcase(os.getcwd()), base_url=base_url, task_list=task_list, row_count=row_count, max_page=max_page, page_size=page_size, releases=releases, current_port=port) diff --git a/views/system.tpl b/views/system.tpl index 903074320..1a28c555f 100644 --- a/views/system.tpl +++ b/views/system.tpl @@ -126,7 +126,7 @@
- +
@@ -136,18 +136,6 @@
-
-
- -
-
-
-
- {{operation_system}} -
-
-
-
% from get_settings import get_general_settings % if get_general_settings()[12]:
@@ -177,6 +165,18 @@
% end +
+
+ +
+
+
+
+ {{operating_system}} +
+
+
+
@@ -189,18 +189,6 @@
-
-
- -
-
-
-
- {{config_dir}} -
-
-
-
@@ -213,6 +201,18 @@
+
+
+ +
+
+
+
+ {{config_dir}} +
+
+
+
More info