Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8803b6d commit bcf9330Copy full SHA for bcf9330
mdfreader/mdfinfo4.py
@@ -162,7 +162,7 @@ def read(self, fid):
162
self['id_custom_unfi_flags']) = unpack('<8s8s8sIH30s2H',
163
fid.read(64))
164
# treatment of unfinalised file
165
- if self['id_ver'] > 410 and 'UnFin' in self['id_file']:
+ if self['id_ver'] > 410 and b'UnFin' in self['id_file']:
166
print(' ! unfinalised file', file=stderr)
167
if self['id_unfi_flags'] & 1:
168
print('Update of cycle counters for CG/CA blocks required',
0 commit comments