Skip to content

Commit

Permalink
Fix channel ID property description
Browse files Browse the repository at this point in the history
  • Loading branch information
bethac07 committed Nov 18, 2024
1 parent 8a6e874 commit 4ab378b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/pe2loaddata/content/item/item_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@ def channel_name(self):

@property
def channel_id(self):
"""The channel name
Strip out spaces in the channel name because XML parser seems to
be broken
"""The integer channel id
"""
channel = self.metadata["ChannelID"]
return channel.replace(" ", "")

0 comments on commit 4ab378b

Please sign in to comment.