From 52f59662de5f3b2668950dd97f36abc6433d94f5 Mon Sep 17 00:00:00 2001 From: nicolas-f <1382241+nicolas-f@users.noreply.github.com> Date: Wed, 3 Jul 2024 15:34:59 +0200 Subject: [PATCH] cancel changes --- services/pixljs_alert/zero_ble.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/pixljs_alert/zero_ble.py b/services/pixljs_alert/zero_ble.py index bc3f620..b0c7c41 100644 --- a/services/pixljs_alert/zero_ble.py +++ b/services/pixljs_alert/zero_ble.py @@ -265,7 +265,7 @@ async def main(config): if mode == "install": print("Install mode connecting to Pixl.js") try: - async with ((BleakClient(scan_result.device) as client)): + async with (BleakClient(scan_result.device) as client): await client.start_notify(UART_TX_CHAR_UUID, scan_result.uart_data_received) nus = client.services.get_service(UART_SERVICE_UUID) rx_char = nus.get_characteristic(UART_RX_CHAR_UUID)