From db4ae36f80ebb430e6e02aaa7e282e0ca19a9407 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 29 Jul 2011 15:55:50 -0600 Subject: Fix progress bars. --- dimension/dimension.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dimension/dimension.in') diff --git a/dimension/dimension.in b/dimension/dimension.in index bb9f012..708d454 100644 --- a/dimension/dimension.in +++ b/dimension/dimension.in @@ -116,7 +116,7 @@ def _progress_bar(str, progress): term_width = terminal_width() width = term_width - (len(str) + 1)%term_width for i in range(width): - progress.wait(i/width) + progress.wait((i + 1)/width) print('.', end = '') _sys.stdout.flush() -- cgit v1.2.3