From 797499a92e126785297e39c01ed0780a87f5e832 Mon Sep 17 00:00:00 2001 From: Halali Date: Tue, 27 Nov 2018 21:00:13 +0100 Subject: [PATCH] Fixe for malformed string --- views/movie.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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: %>