1 parent 96776cd commit 1862fc4Copy full SHA for 1862fc4
1 file changed
modules/scanners/vuln_scanner.py
@@ -593,7 +593,7 @@ async def _ble_passive_adv(
593
gap: Optional[GapReport] = None
594
seen = False
595
try:
596
- scanner = BleakScanner()
+ scanner = BleakScanner() # type: ignore
597
await scanner.start()
598
await asyncio.sleep(min(timeout, 8))
599
await scanner.stop()
@@ -631,7 +631,7 @@ async def _ble_gatt_deep(
631
return fp_extra, rep
632
633
634
- async with BleakClient(target, timeout=timeout) as client:
+ async with BleakClient(target, timeout=timeout) as client: # type: ignore
635
if not client.is_connected:
636
return None, rep
637
0 commit comments