← Back to ratslair.com
aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorEdvin <[email protected]>2025-04-11 13:22:35 +0200
committerEdvin <[email protected]>2025-04-11 13:22:35 +0200
commit3a3a285c39f667e3a48cc73a34d0dc734ac34f40 (patch)
treefe89ff646080833f4bd42afb231bf386f7b92993 /main.py
parentadfe8bf96b85e0442779ef54603ed5482ca39d84 (diff)
Fixed name
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)