Skip to content

Commit 058da16

Browse files
authored
Merge pull request #56 from rsbohn/dexter1126
Handle missing bitmaptools
2 parents f982127 + 3626da3 commit 058da16

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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

adafruit_displayio_layout/widgets/cartesian.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@
3333

3434
try:
3535
import bitmaptools
36-
except NameError:
36+
except ImportError:
3737
pass
38+
3839
try:
3940
from typing import Tuple
4041
except ImportError:

0 commit comments

Comments
 (0)