mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-02-13 21:16:18 +00:00
head gestures, maybe??
This commit is contained in:
@@ -45,6 +45,7 @@ class Connection:
|
||||
|
||||
def send(self, data: bytes):
|
||||
try:
|
||||
logging.info(f"Sending data to {self.mac_address}: {data}")
|
||||
self.socket.send(data)
|
||||
except bluetooth.btcommon.BluetoothError as e:
|
||||
logging.error(f'Failed to send data to {self.mac_address}: {e}')
|
||||
@@ -83,4 +84,4 @@ class Connection:
|
||||
|
||||
def __del__(self):
|
||||
self.socket.close()
|
||||
pass
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user