Skip to content

Commit a84bbd5

Browse files
authored
Merge pull request adafruit#5 from tannewt/explicit_return
Add explicit return to avoid implicit None return which doesn't
2 parents 9bb1f95 + 974452e commit a84bbd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_irremote.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ def read_pulses(self, input_pulses, max_pulse=10000):
179179
else:
180180
return received
181181
received.append(pulse)
182+
return received
182183

183184
class GenericTransmit:
184185
"""Generic infrared transmit class that handles encoding."""

0 commit comments

Comments
 (0)