commit | 4d541e2ca807f3946fb8d159cfa3bc52c2e9248e | [log] [tgz] |
---|---|---|
author | Chris Liechti <cliechti@gmx.net> | Sat Feb 13 23:13:59 2016 +0100 |
committer | Chris Liechti <cliechti@gmx.net> | Sat Feb 13 23:13:59 2016 +0100 |
tree | 6565ff8dcfc8d6549458991bcfc39d0c8b8652ba | |
parent | a887c93586a12bd6a587808ffceb3dd12ac84eb7 [diff] [blame] |
fix: error formating message
diff --git a/serial/tools/miniterm.py b/serial/tools/miniterm.py index 39591e3..ebb7f6e 100644 --- a/serial/tools/miniterm.py +++ b/serial/tools/miniterm.py
@@ -594,7 +594,7 @@ try: self.serial.baudrate = int(sys.stdin.readline().strip()) except ValueError as e: - sys.stderr.write('--- ERROR setting baudrate: %s ---\n'.format(e)) + sys.stderr.write('--- ERROR setting baudrate: {} ---\n'.format(e)) self.serial.baudrate = backup else: self.dump_port_settings()