Skip to content

Commit 5d95d67

Browse files
committed
move typing import into try block
1 parent 19120bc commit 5d95d67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_bluefruit_connect/packet.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
from __future__ import annotations
1616

1717
import struct
18-
from io import RawIOBase
18+
1919

2020
try:
2121
from typing import Optional, Any # adjust these as needed
22+
from io import RawIOBase
2223
except ImportError:
2324
pass
2425

0 commit comments

Comments
 (0)