commit 4690f0127230249b7611d863867c94f02daaf311
parent a4cfe067082bba184c5699629bcfe9211ab1578a
Author: rbckman <rob@tarina.org>
Date: Sun, 30 Nov 2025 10:47:10 +0000
somehow I broke insert at some point, now it works as expected
Diffstat:
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/gonzopi.py b/gonzopi.py
@@ -1608,10 +1608,14 @@ def main():
#camera_recording=0
scenes, shots, takes = browse(filmname,filmfolder,scene,shot,take)
if pressed == "record":
- shot = shots+1
- take = 1
- takes=1
- shots=shots+1
+ if takes > 0:
+ shot = shots+1
+ take = 1
+ takes=1
+ shots=shots+1
+ else:
+ take = 1
+ takes=1
elif pressed == "retake" and takes > 0:
takes = counttakes(filmname, filmfolder, scene, shot)
take = takes+1