Fix Circle reader reporting incorrect record id
This commit is contained in:
parent
28cdb34b08
commit
6cef118534
@ -2281,7 +2281,7 @@ class Circle(Record):
|
||||
|
||||
@staticmethod
|
||||
def read(stream: io.BufferedIOBase, record_id: int) -> 'Circle':
|
||||
if record_id == 27:
|
||||
if record_id != 27:
|
||||
raise InvalidDataError('Invalid record id for Circle: '
|
||||
'{}'.format(record_id))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user