Skip to content

Commit

Permalink
Print a newline after leave=True. Closes issue tqdm#6
Browse files Browse the repository at this point in the history
  • Loading branch information
noamraph committed Jan 15, 2014
1 parent 2ad667d commit da5fdbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tqdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def tqdm(iterable, desc='', total=None, leave=False, file=sys.stderr,
if last_print_n < n:
cur_t = time.time()
sp.print_status(prefix + format_meter(n, total, cur_t-start_t))
file.write('\n')


def trange(*args, **kwargs):
Expand Down

0 comments on commit da5fdbf

Please sign in to comment.