Skip to content

Commit ddb9d66

Browse files
committed
fix continuation line
1 parent 8d7ce76 commit ddb9d66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_dht.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ def measure(self):
138138
delay_between_readings = 0.5
139139
if self._dht11:
140140
delay_between_readings = 1.0
141-
if (self._last_called == 0) or \
142-
(time.monotonic()-self._last_called > delay_between_readings):
141+
if (self._last_called == 0 or
142+
(time.monotonic()-self._last_called) > delay_between_readings):
143143
self._last_called = time.monotonic()
144144

145145
pulses = self._get_pulses()

0 commit comments

Comments
 (0)