Skip to content

Commit abb6c35

Browse files
authored
Handle ImportError in widgets __init__.py
If bitmaptools is not available an ImportError is raised.
1 parent f982127 commit abb6c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_displayio_layout/widgets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
try:
1313
import bitmaptools
14-
except NameError:
14+
except ImportError:
1515
pass
1616

1717

0 commit comments

Comments
 (0)