commit 469ee332d06edd689cddc6cceecd124a5825600a
parent 43c835283877537a1c327809f3f7d89b9b36d532
Author: rob <rob@tarina.org>
Date: Thu, 25 Apr 2019 21:17:57 +0100
bug fix
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tarina.py b/tarina.py
@@ -517,7 +517,7 @@ def timelapse(beeps,camera,foldername,filename):
recording = False
starttime = time.time()
t = 0
- if pressed == 'middle':
+ if pressed == 'middle' and n > 1:
if recording == True:
os.system('pkill arecord')
camera.stop_recording()