commit | 0cd7d0759919669b5a53908cad5c3faea0c9f500 | [log] [tgz] |
---|---|---|
author | Chris Liechti <cliechti@gmx.net> | Fri Sep 04 23:04:53 2015 +0200 |
committer | Chris Liechti <cliechti@gmx.net> | Fri Sep 04 23:04:53 2015 +0200 |
tree | fd67a9558d3dfcbe73e5921e01288302807eb689 | |
parent | 589c92a09d7e05e3e28f3415fbec410d4fe6282e [diff] [blame] |
aio: use new API in example
diff --git a/serial/aio.py b/serial/aio.py index 7e16545..257c47c 100644 --- a/serial/aio.py +++ b/serial/aio.py
@@ -97,7 +97,7 @@ def connection_made(self, transport): self.transport = transport print('port opened', transport) - transport.serial.setRTS(0) + transport.serial.rts = False transport.write(b'hello world\n') def data_received(self, data):