From c9b2e164529d02efda38c7dc2ef8990f5e3ce8a9 Mon Sep 17 00:00:00 2001 From: yeyeto2788 Date: Mon, 14 Dec 2020 09:28:06 +0100 Subject: [PATCH] Fix issue 54 Add NotImplementedError on catched exceptions. --- adafruit_dht.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adafruit_dht.py b/adafruit_dht.py index e7f1a64..96bd411 100644 --- a/adafruit_dht.py +++ b/adafruit_dht.py @@ -38,7 +38,7 @@ from pulseio import PulseIn _USE_PULSEIO = True -except ImportError: +except (ImportError, NotImplementedError): pass # This is OK, we'll try to bitbang it!