Skip to content

Commit

Permalink
Correct typo in method name in tdm_loader
Browse files Browse the repository at this point in the history
The method name "get_channels" has been corrected to "_get_channels" in the 'tdm_loader.py' file. The change was necessitated by the requirement for the method to be private, hence the underscore, as it's only meant for internal use, preventing unintended external access.
  • Loading branch information
espenenesNOV committed Mar 25, 2024
1 parent 5b006cb commit 6e4e557
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
Expand Up @@ -242,7 +242,7 @@ def channel_search(self, search_term):
if channel_name:
group_uri = re.findall(r'id\("(.+?)"\)', channel.find("group").text)
group_id = channel_group_ids.get(group_uri[0])
channels = self.get_channels(group_id)
channels = self._get_channels(group_id)

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

Expand Down

0 comments on commit 6e4e557

Please sign in to comment.