Skip to content

Commit bcf9330

Browse files
committed
bug fix in case of 4.11 version
1 parent 8803b6d commit bcf9330

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mdfreader/mdfinfo4.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def read(self, fid):
162162
self['id_custom_unfi_flags']) = unpack('<8s8s8sIH30s2H',
163163
fid.read(64))
164164
# treatment of unfinalised file
165-
if self['id_ver'] > 410 and 'UnFin' in self['id_file']:
165+
if self['id_ver'] > 410 and b'UnFin' in self['id_file']:
166166
print(' ! unfinalised file', file=stderr)
167167
if self['id_unfi_flags'] & 1:
168168
print('Update of cycle counters for CG/CA blocks required',

0 commit comments

Comments
 (0)