Skip to content

Commit

Permalink
Fixes a typo in the previous commit (bytes->data)
Browse files Browse the repository at this point in the history
  • Loading branch information
freespace committed Jan 17, 2019
1 parent c08dcd5 commit 5526ec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyAPT/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def __new__(cls, messageID, dest=0x50, src=0x01, param1=0, param2=0, data=None):
if type(data) == str:
data = [ord(c) for c in data]
elif type(data) == bytes:
data = list(bytes)
data = list(data)

return super(Message, cls).__new__(Message,
messageID,
Expand Down

0 comments on commit 5526ec6

Please sign in to comment.