Skip to content

Commit 5526ec6

Browse files
committed
Fixes a typo in the previous commit (bytes->data)
1 parent c08dcd5 commit 5526ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyAPT/message.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def __new__(cls, messageID, dest=0x50, src=0x01, param1=0, param2=0, data=None):
6565
if type(data) == str:
6666
data = [ord(c) for c in data]
6767
elif type(data) == bytes:
68-
data = list(bytes)
68+
data = list(data)
6969

7070
return super(Message, cls).__new__(Message,
7171
messageID,

0 commit comments

Comments
 (0)