test
This commit is contained in:
parent
7f033a0bdf
commit
85a82d2350
@ -37,6 +37,8 @@ class OriginChannels():
|
|||||||
if isinstance(channels_item[filter_key], list):
|
if isinstance(channels_item[filter_key], list):
|
||||||
if len(channels_item[filter_key]):
|
if len(channels_item[filter_key]):
|
||||||
chan_values = [x["name"] for x in channels_item[filter_key]]
|
chan_values = [x["name"] for x in channels_item[filter_key]]
|
||||||
|
else:
|
||||||
|
chan_values = []
|
||||||
else:
|
else:
|
||||||
chan_values = [channels_item[filter_key]["name"]]
|
chan_values = [channels_item[filter_key]["name"]]
|
||||||
elif filter_key in ["category"]:
|
elif filter_key in ["category"]:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user