diff --git a/views/movie.tpl b/views/movie.tpl index 939d8adc3..ef66e921e 100644 --- a/views/movie.tpl +++ b/views/movie.tpl @@ -170,7 +170,11 @@ <% - missing_subs_languages = ast.literal_eval(details[11]) + if details[11] is not None: + missing_subs_languages = ast.literal_eval(details[11]) + else: + missing_subs_langauges = [] + end from get_subtitle import search_active if missing_subs_languages is not None: %>