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)
...
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: