diff --git a/meshtastic/ble_interface.py b/meshtastic/ble_interface.py index 5f32edf..71b957f 100644 --- a/meshtastic/ble_interface.py +++ b/meshtastic/ble_interface.py @@ -174,7 +174,7 @@ class BLEInterface(MeshInterface): # Bleak docs recommend always doing a scan before connecting (even if we know addr) device = self.find_device(address) - client = BLEClient(device.address, disconnected_callback=lambda _: self.close) + client = BLEClient(device.address, disconnected_callback=lambda _: self.close()) client.connect() client.discover() return client