summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-07-29 15:55:50 -0600
committerTavian Barnes <tavianator@gmail.com>2011-07-29 15:55:50 -0600
commitdb4ae36f80ebb430e6e02aaa7e282e0ca19a9407 (patch)
treeea0e8cc7a54688ed2352b2459ee2974b99942c57 /dimension
parent0dd2bbbb3953255a11fdbbcfa0e986e7fbb1a2f2 (diff)
downloaddimension-db4ae36f80ebb430e6e02aaa7e282e0ca19a9407.tar.xz
Fix progress bars.
Diffstat (limited to 'dimension')
-rw-r--r--dimension/dimension.in2
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()