commit | 9e60ac771deb58fbfabfd1e3ee258e74265eac7f | [log] [tgz] |
---|---|---|
author | Chris Liechti <cliechti@gmx.net> | Sun Jun 19 20:47:23 2016 +0200 |
committer | Chris Liechti <cliechti@gmx.net> | Sun Jun 19 20:47:23 2016 +0200 |
tree | ba4e469ad1caa6f4949df0b8869a0c28362c7956 | |
parent | 2c5a31b09e6abb4143df739c22c3827884904be3 [diff] [blame] |
miniterm: Python 3 fix for cancel, fixes #137
diff --git a/serial/tools/miniterm.py b/serial/tools/miniterm.py index 145996f..016183e 100644 --- a/serial/tools/miniterm.py +++ b/serial/tools/miniterm.py
@@ -169,7 +169,7 @@ return c def cancel(self): - os.write(self.pipe_w, "x") + os.write(self.pipe_w, b"x") def cleanup(self): termios.tcsetattr(self.fd, termios.TCSAFLUSH, self.old)