Skip to content

Commit

Permalink
tracis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ahom committed Jan 26, 2016
1 parent e3e87b4 commit 7e99c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binr/types.py
Expand Up @@ -47,6 +47,6 @@ def cstring(ctx, encoding="utf-8"):
result = bytearray()
char = 0xFF
while char != 0x00:
char = ctx.read(1)[0]
char = ctx.read(1).tobytes()[0]
result.append(char)
return result[:-1].decode(encoding)

0 comments on commit 7e99c4d

Please sign in to comment.