commit bd2432a0385de78ad47d5881cccca54a71037319
parent b138a4092132cb44de2b64a1dc7f1aa5486c6703
Author: rbckman <rob@tarina.org>
Date: Mon, 5 Feb 2024 18:02:17 +0000
do not allow cutting away nothing
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/gonzopi.py b/gonzopi.py
@@ -421,6 +421,8 @@ def main():
videotrim(foldername + filename, trim_filename, trim[0], trim[1])
if os.path.exists(foldername+'dub') == True:
print('trim dubs here')
+ elif trim[0] >= trim[1]:
+ trim = [0,0]
elif trim[0] != 0 and trim[1] != 0:
take = counttakes(filmname, filmfolder, scene, shot)+1
trim_filename = foldername + 'take' + str(take).zfill(3)