Skip to content

Commit c019258

Browse files
committed
Adjusting per feedback.
1 parent a2d18bd commit c019258

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

adafruit_displayio_sh1106.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,12 @@
2626
# Support both 8.x.x and 9.x.x. Change when 8.x.x is discontinued as a stable release.
2727
try:
2828
from typing import Union
29-
from busdisplay import BusDisplay
29+
except ImportError:
30+
pass
31+
32+
try:
3033
from fourwire import FourWire
34+
from busdisplay import BusDisplay
3135
from i2cdisplaybus import I2CDisplayBus
3236
except ImportError:
3337
from displayio import FourWire

0 commit comments

Comments
 (0)