Update autoplay.py

This commit is contained in:
Intel1
2018-03-14 11:24:33 -05:00
committed by GitHub
parent 3995de090c
commit a67ce05e95

View File

@@ -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