Skip to content

Commit

Permalink
Fix rate_noinv_fmt not using custom unit
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen L. <lrq3000@gmail.com>
  • Loading branch information
lrq3000 committed May 14, 2016
1 parent 0deee99 commit fb00507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tqdm/_tqdm.py
Expand Up @@ -207,7 +207,7 @@ def format_meter(n, total, elapsed, ncols=None, prefix='',
'rate_noinv_fmt': ((format_sizeof(rate)
if unit_scale else
'{0:5.2f}'.format(rate))
if rate else '?') + 'it/s',
if rate else '?') + unit + '/s',
'rate_fmt': rate_fmt,
'elapsed': elapsed_str,
'remaining': remaining_str,
Expand Down

0 comments on commit fb00507

Please sign in to comment.