Skip to content

Commit e331bea

Browse files
committed
make typing a little more 3.8-approved
1 parent 7788271 commit e331bea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

meshtastic/ble_interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import struct
77
import time
88
from threading import Thread
9-
from typing import Optional
9+
from typing import List, Optional
1010

1111
import print_color # type: ignore[import-untyped]
1212
from bleak import BleakClient, BleakScanner, BLEDevice
@@ -94,7 +94,7 @@ async def log_radio_handler(self, _, b): # pylint: disable=C0116
9494
print_color.print(log_radio, end=None)
9595

9696
@staticmethod
97-
def scan() -> list[BLEDevice]:
97+
def scan() -> List[BLEDevice]:
9898
"""Scan for available BLE devices."""
9999
with BLEClient() as client:
100100
logging.info("Scanning for BLE devices (takes 10 seconds)...")

0 commit comments

Comments
 (0)