From 6cef11853404863f0ffb653df03029e8612f7a3f Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sat, 21 Jul 2018 13:49:45 -0700 Subject: [PATCH] Fix Circle reader reporting incorrect record id --- fatamorgana/records.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fatamorgana/records.py b/fatamorgana/records.py index 6369ff8..91f48bc 100644 --- a/fatamorgana/records.py +++ b/fatamorgana/records.py @@ -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))