Skip to content

Commit 6e4e557

Browse files
committed
Correct typo in method name in tdm_loader
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.
1 parent 5b006cb commit 6e4e557

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tdm_loader/tdm_loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def channel_search(self, search_term):
242242
if channel_name:
243243
group_uri = re.findall(r'id\("(.+?)"\)', channel.find("group").text)
244244
group_id = channel_group_ids.get(group_uri[0])
245-
channels = self.get_channels(group_id)
245+
channels = self._get_channels(group_id)
246246

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

0 commit comments

Comments
 (0)