You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.
empty_char and filled_char parameters do not work in progress.bar functions. That's because inside it Bar class instance is initiated with BAR_EMPTY_CHAR and BAR_FILLED_CHAR constants instead of the passed arguments.
So, it needs to be:
...
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
bar.show(i + 1)
...
The text was updated successfully, but these errors were encountered:
empty_char
andfilled_char
parameters do not work in progress.bar functions. That's because inside itBar
class instance is initiated withBAR_EMPTY_CHAR
andBAR_FILLED_CHAR
constants instead of the passed arguments.So, it needs to be:
The text was updated successfully, but these errors were encountered: