Replace tab with spaces

This commit is contained in:
Ben Nuttall
2016-06-03 14:40:02 +01:00
parent 70e3d1b4cd
commit 2587612403

View File

@@ -251,7 +251,7 @@ the Raspberry Pi when the button is held for 2 seconds::
from signal import pause
def shutdown():
check_call(['sudo', 'poweroff'])
check_call(['sudo', 'poweroff'])
shutdown_btn = Button(17, hold_time=2)
shutdown_btn.when_held = shutdown