mirror of https://github.com/tuhiproject/tuhi.git
inverted if statement
parent
1d9d91bb82
commit
cfb179c661
|
@ -1760,7 +1760,7 @@ class StrokeHeader(StrokePacket):
|
|||
|
||||
header = data[0]
|
||||
|
||||
if header != 0xbf:
|
||||
if header == 0xbf:
|
||||
self.size += 2
|
||||
elif header != 0xff:
|
||||
raise StrokeParsingError(f'Unexpected pen id packet header: {header}.', data[:9])
|
||||
|
|
Loading…
Reference in New Issue