From a67ce05e95247a9ba55e61940e635b71479837fd Mon Sep 17 00:00:00 2001 From: Intel1 <25161862+Intel11@users.noreply.github.com> Date: Wed, 14 Mar 2018 11:24:33 -0500 Subject: [PATCH] Update autoplay.py --- plugin.video.alfa/channels/autoplay.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugin.video.alfa/channels/autoplay.py b/plugin.video.alfa/channels/autoplay.py index eadc9577..a6352fc6 100644 --- a/plugin.video.alfa/channels/autoplay.py +++ b/plugin.video.alfa/channels/autoplay.py @@ -615,8 +615,11 @@ def get_languages(channel): list_language = ['No filtrar'] list_controls, dict_settings = channeltools.get_channel_controls_settings(channel) for control in list_controls: - if control["id"] == 'filter_languages': - list_language = control["lvalues"] + try: + if control["id"] == 'filter_languages': + list_language = control["lvalues"] + except: + pass return list_language