Pārlūkot izejas kodu

getData remove timeout

marek 1 mēnesi atpakaļ
vecāks
revīzija
b0cfce7b35
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      apps/getData.py

+ 1 - 1
apps/getData.py

@@ -59,7 +59,7 @@ async def ble_task():
         await asyncio.sleep(2)
 
         try:
-            async with BleakClient(device, timeout=60.0) as client:
+            async with BleakClient(device) as client:
                 outdoorConnected = 1
                 print(f"connected to {outdoorName}")