Fixe for malformed string

This commit is contained in:
Halali 2018-11-27 21:00:13 +01:00
parent bcf5650454
commit 797499a92e
1 changed files with 5 additions and 1 deletions

View File

@ -170,7 +170,11 @@
</tbody> </tbody>
</table> </table>
<% <%
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 from get_subtitle import search_active
if missing_subs_languages is not None: if missing_subs_languages is not None:
%> %>