diff --git a/bazarr/main.py b/bazarr/main.py index f022083e3..f5a1e38de 100644 --- a/bazarr/main.py +++ b/bazarr/main.py @@ -608,7 +608,7 @@ def edit_series(no): lang = 'None' single_language = settings.general.getboolean('single_language') - if single_language is True: + if single_language: if str(lang) == "['None']": lang = 'None' else: @@ -805,8 +805,15 @@ def edit_movie(no): else: lang = 'None' - if str(lang) == "['']": - lang = '[]' + single_language = settings.general.getboolean('single_language') + if single_language: + if str(lang) == "['None']": + lang = 'None' + else: + lang = str(lang) + else: + if str(lang) == "['']": + lang = '[]' hi = request.forms.get('hearing_impaired') diff --git a/views/movie.tpl b/views/movie.tpl index 6444c3d1b..f43ef0a0b 100644 --- a/views/movie.tpl +++ b/views/movie.tpl @@ -249,6 +249,9 @@