Skip to content

Commit

Permalink
fix image filer
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelloPerathoner committed Jan 14, 2020
1 parent 95e0e37 commit 27440ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/image-filer.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ def build_parser ():
os.makedirs (run, exist_ok = True)

if len (files) < len (lights):
print ("error: not enough files in %s\n" % run)
break
print ("error: not enough files in %s (%d/%d)\n" % (run, len (files), len (lights)))
continue
if len (files) > len (lights):
print ("error: too many files in %s\n" % run)
break
print ("error: too many files in %s (%d/%d)\n" % (run, len (files), len (lights)))
continue

if args.verbose:
print ("filing into %s" % run)
Expand Down

0 comments on commit 27440ca

Please sign in to comment.