Skip to content

Commit

Permalink
bug fix in case of 4.11 version
Browse files Browse the repository at this point in the history
  • Loading branch information
ratal committed Feb 1, 2018
1 parent 8803b6d commit bcf9330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdfreader/mdfinfo4.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def read(self, fid):
self['id_custom_unfi_flags']) = unpack('<8s8s8sIH30s2H',
fid.read(64))
# treatment of unfinalised file
if self['id_ver'] > 410 and 'UnFin' in self['id_file']:
if self['id_ver'] > 410 and b'UnFin' in self['id_file']:
print(' ! unfinalised file', file=stderr)
if self['id_unfi_flags'] & 1:
print('Update of cycle counters for CG/CA blocks required',
Expand Down

0 comments on commit bcf9330

Please sign in to comment.