From: Pi user Date: Thu, 24 Oct 2013 14:42:45 +0000 (+0100) Subject: Formatting X-Git-Url: https://git.njae.me.uk/?a=commitdiff_plain;h=refs%2Fheads%2Frelease;p=pi-music.git Formatting --- diff --git a/keyboard.py b/keyboard.py index 237d7c6..5f38e90 100644 --- a/keyboard.py +++ b/keyboard.py @@ -30,7 +30,8 @@ def handle_sound(pin): for pin in pins: gpio.setup(pin, gpio.IN) - gpio.add_event_detect(pin, gpio.BOTH, callback=handle_sound, bouncetime=50) + gpio.add_event_detect(pin, gpio.BOTH, callback=handle_sound, + bouncetime=50) while True: pass