From af3cdf78f137505e3d97ec07bfddca42d0da9849 Mon Sep 17 00:00:00 2001 From: Jake Hillion Date: Tue, 28 Apr 2020 14:03:17 +0100 Subject: [PATCH] fixed typo --- python/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/server.py b/python/server.py index ef46790..89fd61c 100755 --- a/python/server.py +++ b/python/server.py @@ -41,7 +41,7 @@ def serial_func(): while True: with globals()['lock']: if globals()['data'] != '': - serial.write(bytes(globals()['data'], 'ascii')) + ser.write(bytes(globals()['data'], 'ascii')) globals()['data'] = '' time.sleep(0.1)