We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea40522 commit abdd9cfCopy full SHA for abdd9cf
examples/irremote_simpletest.py
@@ -19,7 +19,7 @@
19
print("Decoded:", code)
20
except adafruit_irremote.IRNECRepeatException: # unusual short code!
21
print("NEC repeat!")
22
- except adafruit_irremote.IRDecodeException as e: # failed to decode
+ except (adafruit_irremote.IRDecodeException, adafruit_irremote.FailedToDecode) as e: # failed to decode
23
print("Failed to decode: ", e.args)
24
25
print("----------------------------")
0 commit comments