diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-07-29 15:55:50 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-07-29 15:55:50 -0600 |
commit | db4ae36f80ebb430e6e02aaa7e282e0ca19a9407 (patch) | |
tree | ea0e8cc7a54688ed2352b2459ee2974b99942c57 /dimension/dimension.in | |
parent | 0dd2bbbb3953255a11fdbbcfa0e986e7fbb1a2f2 (diff) | |
download | dimension-db4ae36f80ebb430e6e02aaa7e282e0ca19a9407.tar.xz |
Fix progress bars.
Diffstat (limited to 'dimension/dimension.in')
-rw-r--r-- | dimension/dimension.in | 2 |
1 files changed, 1 insertions, 1 deletions
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() |