Skip to content

Commit 85798b2

Browse files
authored
Fix unbalanced tuple
1 parent d72e3bb commit 85798b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_irremote.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def read(self):
235235
except FailedToDecode as err:
236236
# If you want to debug failed decodes, this would be a good
237237
# place to print/log or (re-)raise.
238-
(unparseable_message,) = err.args
238+
unparseable_message = err.args[0]
239239
yield unparseable_message
240240
self._unparsed_pulses.clear()
241241
# TODO Do we need to consume and throw away more pulses here?

0 commit comments

Comments
 (0)