diff --git a/bazarr/get_subtitle.py b/bazarr/get_subtitle.py index 7f091dd37..fd9663cd4 100644 --- a/bazarr/get_subtitle.py +++ b/bazarr/get_subtitle.py @@ -166,7 +166,7 @@ def download_subtitle(path, language, hi, providers, providers_auth, sceneName, try: fld = get_target_folder(path) - chmod = int(settings.general.chmod, 8) if sys.platform.startswith('linux') else None + chmod = int(settings.general.chmod, 8) if not sys.platform.startswith('win') else None saved_subtitles = save_subtitles(video.original_path, subtitles, single=single, tags=None, # fixme directory=fld, diff --git a/views/settings.tpl b/views/settings.tpl index dce0e8e75..b04f8c3a6 100644 --- a/views/settings.tpl +++ b/views/settings.tpl @@ -152,9 +152,7 @@ - % import sys - % if sys.platform.startswith('linux'): -