Fix Circle reader reporting incorrect record id

This commit is contained in:
Jan Petykiewicz 2018-07-21 13:49:45 -07:00
parent 28cdb34b08
commit 6cef118534

View File

@ -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))