Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Progress bar: Don't ignore custom bar characters
Browse files Browse the repository at this point in the history
Closes #131.
  • Loading branch information
thusoy committed Sep 12, 2015
1 parent 2bd5aef commit 52ff92d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clint/textui/progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ def bar(it, label='', width=32, hide=None, empty_char=BAR_EMPTY_CHAR,

count = len(it) if expected_size is None else expected_size

with Bar(label=label, width=width, hide=hide, empty_char=BAR_EMPTY_CHAR,
filled_char=BAR_FILLED_CHAR, expected_size=count, every=every) \
with Bar(label=label, width=width, hide=hide, empty_char=empty_char,
filled_char=filled_char, expected_size=count, every=every) \
as bar:
for i, item in enumerate(it):
yield item
Expand Down

0 comments on commit 52ff92d

Please sign in to comment.