Skip to content

Commit

Permalink
DS-003 fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
tobalan committed Jul 8, 2023
1 parent 248da34 commit 07ba8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/lib/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def fltr(x):
return LANG_MAP[str(x.get("channelLanguageId"))] == categoryOrLang

for each in filter(fltr, resp):
if each.get("channelIdForRedirect") or not Settings.get_boolean(each.get("channelLanguageId")):
if each.get("channelIdForRedirect") or not Settings.get_boolean(LANG_MAP[str(each.get("channelLanguageId"))]):
continue
litm = Listitem.from_dict(**{
"label": each.get("channel_name"),
Expand Down

0 comments on commit 07ba8cc

Please sign in to comment.