summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2014-03-07 21:57:13 +0100
committerhut <hut@lepus.uberspace.de>2014-03-07 21:57:13 +0100
commit1159115dc50b603bbc13dc39c7b4193c507f6dfc (patch)
tree1fe35d592d5a4401b58509c3252162b5dbbed474
parent01bf29b307e39d6a7141c93f94715da9314d75e5 (diff)
downloadranger-1159115dc50b603bbc13dc39c7b4193c507f6dfc.tar.gz
gui.widgets/taskview: Higher precision in progressbar
-rw-r--r--ranger/gui/widgets/taskview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/taskview.py b/ranger/gui/widgets/taskview.py
index 37c0f3c2..5d2aa475 100644
--- a/ranger/gui/widgets/taskview.py
+++ b/ranger/gui/widgets/taskview.py
@@ -51,7 +51,7 @@ class TaskView(Widget, Accumulator):
                     descr = obj.get_description()
                     if obj.progressbar_supported and obj.percent >= 0 \
                             and obj.percent <= 100:
-                        self.addstr(y, 0, "%3d%% - %s" % \
+                        self.addstr(y, 0, "%3.2f%% - %s" % \
                                 (obj.percent, descr), self.wid)
                         wid = int(self.wid / 100.0 * obj.percent)
                         self.color_at(y, 0, self.wid, tuple(clr))