Skip to content

Commit c9b2e16

Browse files
committed
Fix issue 54
Add NotImplementedError on catched exceptions.
1 parent 85a8f32 commit c9b2e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_dht.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
from pulseio import PulseIn
3939

4040
_USE_PULSEIO = True
41-
except ImportError:
41+
except (ImportError, NotImplementedError):
4242
pass # This is OK, we'll try to bitbang it!
4343

4444

0 commit comments

Comments
 (0)