diff --git a/bazarr/main.py b/bazarr/main.py index 873f5839c..afe209a33 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -340,7 +340,7 @@ def settingsradarr(): @app.route('/settings/subtitles/') @login_required def settingssubtitles(): - return render_template('settingssubtitles.html') + return render_template('settingssubtitles.html', os=sys.platform) @app.route('/settings/languages/') diff --git a/views/settingssubtitles.html b/views/settingssubtitles.html index 7c9b97a9e..e98b5fac5 100644 --- a/views/settingssubtitles.html +++ b/views/settingssubtitles.html @@ -217,8 +217,7 @@ - {% import sys %} - {% if not sys.platform.startswith('win') %} + {% if not os.startswith('win') %}
Enable CHMOD