Skip to content
Snippets Groups Projects
Commit ea48e35f authored by Chris Lamb's avatar Chris Lamb :eyes:
Browse files

Reflow for Black.

parent 7b0cff62
No related branches found
No related tags found
No related merge requests found
Pipeline #398686 passed
......@@ -129,7 +129,8 @@ class HiFile(File):
# Now read characters; each is 32-bit big-endian.
try:
version_found = "".join(
chr(struct.unpack(">I", fp.read(4))[0]) for _ in range(length)
chr(struct.unpack(">I", fp.read(4))[0])
for _ in range(length)
)
except ValueError:
# Don't traceback if we encounter and invalid Unicode character.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment