← Back to ratslair.com
aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorEdvin <[email protected]>2025-04-08 10:32:57 +0200
committerEdvin <[email protected]>2025-04-08 10:32:57 +0200
commit85635af1852b29e33ee56535d71bdf20d700b77e (patch)
tree2cba990ef17b24767a7f6369d690f307d5a7f0d3 /main.py
parent71520eab9c30b4bc666d79b145a0d11d2501131e (diff)
Added C code for the Raspberry pi due to compatiblity issues between Bluez versions
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 4720154..7362778 100644
--- a/main.py
+++ b/main.py
@@ -30,7 +30,7 @@ print("Waiting for connection on RFCOMM channel %d..." % port)
client_sock, client_info = server_sock.accept()
-print("Connected with %d" % client_info)
+print("Connected to %s." % client_info[0])
while client_sock:
read = client_sock.recv(1024)