@ -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']":
else:
@ -805,6 +805,13 @@ def edit_movie(no):
lang = str(lang)
if str(lang) == "['']":
lang = '[]'
@ -249,6 +249,9 @@
<div class="nine wide column">
<select name="languages" id="movie_languages" {{!'multiple="" ' if single_language is False else ''}} class="ui fluid selection dropdown">
<option value="">Languages</option>
%if single_language:
<option value="None">None</option>
%end
%for language in languages:
<option value="{{language[0]}}">{{language[1]}}</option>
@ -182,6 +182,9 @@
<select name="languages" id="movies_languages" {{!'multiple="" ' if single_language is False else ''}}class="ui fluid selection dropdown">
@ -94,7 +94,7 @@
</td>
<td>{{!"" if row[4] == None else row[4]}}</td>
<td>{{!"" if row[4] is None else row[4]}}</td>
<td>
%total_subs = 0
%missing_subs = 0
@ -199,7 +199,7 @@
<select name="languages" id="series_languages" {{!'multiple="" ' if single_language is False else ''}}class="ui fluid selection dropdown">
%if single_language is True: