aboutsummaryrefslogtreecommitdiff
path: root/cryptech_console
diff options
context:
space:
mode:
Diffstat (limited to 'cryptech_console')
-rwxr-xr-xcryptech_console4
1 files changed, 2 insertions, 2 deletions
diff --git a/cryptech_console b/cryptech_console
index 5ac12ba..e88bf70 100755
--- a/cryptech_console
+++ b/cryptech_console
@@ -88,10 +88,10 @@ class FemtoTerm(object):
self.close()
def stdin_loop(self):
- return self.copy_loop(self.stdin_stream, self.socket_stream, "\n", "\r")
+ return self.copy_loop(self.stdin_stream, self.socket_stream, b"\n", b"\r")
def stdout_loop(self):
- return self.copy_loop(self.socket_stream, self.stdout_stream, "\r\n", "\n")
+ return self.copy_loop(self.socket_stream, self.stdout_stream, b"\r\n", b"\n")
def main():
parser = argparse.ArgumentParser(formatter_class = argparse.ArgumentDefaultsHelpFormatter)