Commit 4a954c54 authored by Matt Boswell's avatar Matt Boswell

fix byte/string bug introduced in 1c46f25e

This is the error message that this commit fixes:
TypeError: sequence item 142: expected a bytes-like object, str found

Complete what 1c46f25e started, more or less.
parent 4fcf7c73
......@@ -257,7 +257,7 @@ def main(latency_control):
if lines[-1]:
# no terminating newline: entry isn't complete yet!
hw.leftover = lines.pop()
lines.append('')
lines.append(b'')
else:
hw.leftover = b''
mux.send(0, ssnet.CMD_HOST_LIST, b'\n'.join(lines))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment