Skip to content

Commit 27440ca

Browse files
fix image filer
1 parent 95e0e37 commit 27440ca

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/image-filer.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ def build_parser ():
9797
os.makedirs (run, exist_ok = True)
9898

9999
if len (files) < len (lights):
100-
print ("error: not enough files in %s\n" % run)
101-
break
100+
print ("error: not enough files in %s (%d/%d)\n" % (run, len (files), len (lights)))
101+
continue
102102
if len (files) > len (lights):
103-
print ("error: too many files in %s\n" % run)
104-
break
103+
print ("error: too many files in %s (%d/%d)\n" % (run, len (files), len (lights)))
104+
continue
105105

106106
if args.verbose:
107107
print ("filing into %s" % run)

0 commit comments

Comments
 (0)