From 52ff92d7d5152546d815f6c099528fa6316ec974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tarjei=20Hus=C3=B8y?= Date: Sat, 12 Sep 2015 23:54:05 +0200 Subject: [PATCH] Progress bar: Don't ignore custom bar characters Closes #131. --- clint/textui/progress.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clint/textui/progress.py b/clint/textui/progress.py index 09dedbd..da4bb9b 100644 --- a/clint/textui/progress.py +++ b/clint/textui/progress.py @@ -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