commit 37d4faac2b264c6420ce185362e37e8808955784
parent ddd013739d0bff8cce4b53812523f495c934a68a
Author: rbckman <rbckman@rbckman>
Date: Fri, 10 Mar 2017 14:25:34 +0200
shutdown message
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/tarina.py b/tarina.py
@@ -1152,7 +1152,9 @@ def main():
#SHUTDOWN
elif pressed == 'shutdown' and recording == False:
+ writemessage('Hold down 3 seconds to shutdown')
shutdownbutton = time.time()
+ time.sleep(1)
while pressed == 'shutdown':
pressed, buttonpressed, buttontime, holdbutton = getbutton(pressed, buttonpressed, buttontime, holdbutton)
writemessage('Hold down 3 seconds to shutdown')