commit 997fd7b97887bda741094d53774897dde05ad999
parent 7ad6252ec02ddf9fc25e4e4883b0fb23f0e7d1b8
Author: rbckman <robinbackman@gmail.com>
Date: Thu, 9 Mar 2017 09:56:14 +0000
Merge branch 'master' of https://github.com/rbckman/tarina
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tarina.py b/tarina.py
@@ -1153,7 +1153,7 @@ def main():
#SHUTDOWN
elif pressed == 'shutdown':
time.sleep(0.1)
- if recording == False:
+ if recording == False and holdbutton == 'shutdown':
writemessage('Hold down 2s to shutdown')
if buttontime > 2.1:
bus.write_byte_data(DEVICE,OLATA,0)