Skip to content

Commit

Permalink
bit2bin: don't print string terminator
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Oct 8, 2018
1 parent 9a509e5 commit 5de319d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artiq/frontend/bit2bin.py
Expand Up @@ -32,7 +32,7 @@ def bit2bin(bit, bin, flip=False):
if key in "abcd":
d = bit.read(*struct.unpack(">H", bit.read(2)))
assert d.endswith(b"\x00")
d = d.decode()
d = d[:-1].decode()
name = {
"a": "Design",
"b": "Part name",
Expand Down

0 comments on commit 5de319d

Please sign in to comment.