← Back to ratslair.com
aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index b22dc6c..44f592e 100644
--- a/main.py
+++ b/main.py
@@ -40,7 +40,7 @@ while read != "1000":
print("Received: %s" % read)
print(f"Sending: 'Acknowledge: {read}'")
- client_sock.send(f"Acknowledge: {read}\n".encode()) # Remember NEW LINE for ÖS to be able to read lines.
+ recv_sock.send(f"Acknowledge: {read}\n".encode()) # Remember NEW LINE for ÖS to be able to read lines.
if read == "0": # Do nothing
GPIO.output(P1, False)