diff options
author | Chris Liechti <cliechti@gmx.net> | 2015-12-08 22:03:34 +0100 |
---|---|---|
committer | Chris Liechti <cliechti@gmx.net> | 2015-12-08 22:03:34 +0100 |
commit | f662099a3cf5a83449f817fb6dee0b25fb5339fb (patch) | |
tree | c29c478acc43085609b2dd8a9c2fbe3244528a0b /examples | |
parent | 73034f6b94443c89519c6c9c6bd9b708e3fedab1 (diff) | |
download | pyserial-git-f662099a3cf5a83449f817fb6dee0b25fb5339fb.tar.gz |
missed renaming to ReaderThread, fix for #44
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/tcp_serial_redirect.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tcp_serial_redirect.py b/examples/tcp_serial_redirect.py index 74bd411..eaabe40 100755 --- a/examples/tcp_serial_redirect.py +++ b/examples/tcp_serial_redirect.py @@ -124,7 +124,7 @@ it waits for the next connect. sys.exit(1) ser_to_net = SerialToNet() - serial_worker = serial.threaded.SerialPortWorker(ser, ser_to_net) + serial_worker = serial.threaded.ReaderThread(ser, ser_to_net) serial_worker.start() srv = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |