From 8e6973253f45dc4bbf5aa489531cc70f9e0c209c Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 28 Oct 2011 13:04:31 -0300 Subject: [PATCH] Update clint/textui/progress.py --- clint/textui/progress.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clint/textui/progress.py b/clint/textui/progress.py index 4ca2b0f..c958e2b 100644 --- a/clint/textui/progress.py +++ b/clint/textui/progress.py @@ -26,7 +26,7 @@ def bar(it, label='', width=32, hide=False, empty_char='-', filled_char='='): x = int(width*_i/count) if not hide: STREAM.write(BAR_TEMPLATE % ( - label, bar_filled_char*x, bar_empty_char*(width-x), _i, count)) + label, filled_char*x, empty_char*(width-x), _i, count)) STREAM.flush() count = len(it)