Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adafruit_dht.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(
self._temperature = None
self._use_pulseio = use_pulseio
if "Linux" not in uname() and not self._use_pulseio:
raise Exception("Bitbanging is not supported when using CircuitPython.")
raise ValueError("Bitbanging is not supported when using CircuitPython.")
# We don't use a context because linux-based systems are sluggish
# and we're better off having a running process
if self._use_pulseio:
Expand Down