Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tdm_loader/tdm_loader.py
Browse files Browse the repository at this point in the history
Co-authored-by: Florian Dobener <[email protected]>
EspenEnes and domna authored Mar 25, 2024
1 parent a554ea8 commit e2f5a73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tdm_loader/tdm_loader.py
Original file line number Diff line number Diff line change
@@ -240,7 +240,7 @@ def channel_search(self, search_term):
group_id = channel_group_ids.get(group_uri[0])
channels = get_channels(group_id)

channel_id = channels.get(channel_id)
channel_id = channels.get(channel.get("id"))

if channel_name.upper().replace(" ", "").find(search_term) >= 0:
matched_channels.append((channel_name, group_id, channel_id))

0 comments on commit e2f5a73

Please sign in to comment.