Skip to content

Commit 8d7ce76

Browse files
committed
fix pylint issue - line too long
1 parent 93aed21 commit 8d7ce76

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 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 (time.monotonic()-self._last_called > delay_between_readings):
141+
if (self._last_called == 0) or \
142+
(time.monotonic()-self._last_called > delay_between_readings):
142143
self._last_called = time.monotonic()
143144

144145
pulses = self._get_pulses()

0 commit comments

Comments
 (0)