0

chunk progress prints fewer lines. Made a perhaps insignificant

algorithm change
This commit is contained in:
Andrew Brown
2010-09-11 22:34:07 -04:00
parent 5726f7e23e
commit 55d596fc26
2 changed files with 8 additions and 3 deletions

View File

@@ -40,7 +40,9 @@ def main():
if options.procs > 1:
for i, (col, row, filename) in enumerate(chunks):
results[col, row].wait()
print "{0}/{1} chunks rendered".format(i, len(chunks))
if i > 0:
if 1000 % i == 0 or i % 1000 == 0:
print "{0}/{1} chunks rendered".format(i, len(chunks))
print "Writing out html file"
if not os.path.exists(destdir):