From 8cf23d8ba140fe0ff94e732948aea80a65305504 Mon Sep 17 00:00:00 2001 From: Thomas Sarlandie Date: Sat, 26 Oct 2019 09:58:14 -0700 Subject: [PATCH] Remove debug parameter in example debug was removed in #27 but the readme still has it which causes an exception. This will make for a nicer first experience with the library ;) ``` TypeError: unexpected keyword argument 'debug' ``` --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index c8e50a2..e0c27a8 100644 --- a/README.rst +++ b/README.rst @@ -77,7 +77,7 @@ Usage Example pulses = decoder.read_pulses(pulsein) print("Heard", len(pulses), "Pulses:", pulses) try: - code = decoder.decode_bits(pulses, debug=False) + code = decoder.decode_bits(pulses) print("Decoded:", code) except adafruit_irremote.IRNECRepeatException: # unusual short code! print("NEC repeat!")