Skip to content

Commit

Permalink
Merge pull request #88 from tekktrik/main
Browse files Browse the repository at this point in the history
Fix pylint errors
  • Loading branch information
jposada202020 authored May 11, 2023
2 parents 2108ae1 + 7522ce1 commit 261a183
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 261a183

Please sign in to comment.