From 0fe2c7f0dd46e99d6778282895558b6788e6cab4 Mon Sep 17 00:00:00 2001 From: Josh Davis Date: Thu, 7 Aug 2008 20:12:04 +1000 Subject: [PATCH] bar --- tord/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tord/common.py b/tord/common.py index e29f65c..0f1286e 100644 --- a/tord/common.py +++ b/tord/common.py @@ -132,7 +132,7 @@ def fratio(ratio): return '%2.2f'%(ratio) def fbar(progress, width=10): - progress_chars = int(progress * (width) + 0.5) + progress_chars = int(progress * width) return (progress_chars * '#' + (width - progress_chars) * '-') def fspeed(bps): -- 2.11.4.GIT