commit 499dd1d1f12e62f31843ecabdec55894e5172e5a
parent ddbc004977fb27ed0d2182432021d44259627756
Author: rob <rob@tarina.org>
Date: Sat, 23 Mar 2024 17:20:24 +0000
gonzopi
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gonzopi.py b/gonzopi.py
@@ -903,7 +903,8 @@ def main():
except:
logger.info('no files')
with open(filmfolder+filmname+'/scene'+str(scene).zfill(3)+'/.origin_videos', 'r') as f:
- scene_origin_files = [line.rstrip() for line in f]
+ if f:
+ scene_origin_files = [line.rstrip() for line in f]
#a=0
#for i in cameras:
# if a != 0: