trying again, add elif not else if

pull/283/head
Roland Metivier 2022-01-15 09:03:48 -06:00
parent 6e841de542
commit 1d9d91bb82
No known key found for this signature in database
GPG Key ID: 54E5710EE1759A5B
1 changed files with 1 additions and 1 deletions

View File

@ -1762,7 +1762,7 @@ class StrokeHeader(StrokePacket):
if header != 0xbf:
self.size += 2
else if header != 0xff:
elif header != 0xff:
raise StrokeParsingError(f'Unexpected pen id packet header: {header}.', data[:9])
nbytes = bin(header).count('1')