We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab67238 commit 60a3579Copy full SHA for 60a3579
1 file changed
adafruit_usb_host_mass_storage.py
@@ -14,11 +14,15 @@
14
15
import struct
16
import time
17
-from typing import Optional
18
import usb.core
19
from micropython import const
20
import adafruit_usb_host_descriptors
21
+try:
22
+ from typing import Optional
23
+except ImportError:
24
+ pass
25
+
26
__version__ = "0.0.0+auto.0"
27
__repo__ = (
28
"https://github.com/adafruit/Adafruit_CircuitPython_USB_Host_Mass_Storage.git"
0 commit comments