[skip ci] no blank line after progress bars
This commit is contained in:
parent
0c24a82a07
commit
eada10548e
|
@ -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()
|
||||
|
||||
# -----------------------------
|
||||
|
|
Loading…
Reference in New Issue