Skip to content

Commit 85b6a36

Browse files
committed
Pylint and black verification
1 parent ef10972 commit 85b6a36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_dht.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ def _get_pulses_bitbang(self):
138138
dhtpin.value = True
139139
time.sleep(0.1)
140140
dhtpin.value = False
141-
time.sleep(self._trig_wait // 1000000) # Using the time to pull-down the line according to DHT Model
141+
# Using the time to pull-down the line according to DHT Model
142+
time.sleep(self._trig_wait // 1000000)
142143
timestamp = time.monotonic() # take timestamp
143144
dhtval = True # start with dht pin true because its pulled up
144145
dhtpin.direction = Direction.INPUT

0 commit comments

Comments
 (0)