Skip to content

Commit

Permalink
- fixed progress counter initialization, broken from when the
Browse files Browse the repository at this point in the history
  "usage" was renamed to "cost";
  • Loading branch information
jaltmayerpizzorno committed Aug 28, 2024
1 parent 3d84fde commit 8918039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coverup/coverup.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ def __init__(self, total, initial):
self._bar = tqdm.tqdm(total=total, initial=initial)

self._postfix = OrderedDict()
for p in ['usage', *PROGRESS_COUNTERS]:
for p in [*PROGRESS_COUNTERS, 'cost']:
self._postfix[p] = '' # to establish order

self._bar.set_postfix(ordered_dict=self._postfix)
Expand Down

0 comments on commit 8918039

Please sign in to comment.