[skip ci] no blank line after progress bars

This commit is contained in:
Philip Eisenlohr 2019-02-27 08:37:47 -05:00
parent 0c24a82a07
commit eada10548e
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ def progressBar(iteration, total, prefix='', bar_length=50):
sys.stderr.write('\r{} {} {}'.format(prefix, bar, remaining_time)),
if iteration == total: sys.stderr.write('\n\n')
if iteration == total: sys.stderr.write('\n')
sys.stderr.flush()
# -----------------------------