summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorRichard Boß <richboss@gmail.de>2016-10-24 20:38:37 +0200
committerRichard Boß <richboss@gmail.de>2016-10-24 20:44:48 +0200
commit28c03b794fdfcc5f0129910d834188324a18d1fe (patch)
tree2a7f853c05f95ed6653211622531dceb3d21d098 /ranger
parent041856327c0d9b1fe3f26c5447995fda477c657f (diff)
downloadranger-28c03b794fdfcc5f0129910d834188324a18d1fe.tar.gz
fix issue #679: Statusbar percentage crashes on python 2.6.6
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/statusbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py
index 0828c372..0ac62d86 100644
--- a/ranger/gui/widgets/statusbar.py
+++ b/ranger/gui/widgets/statusbar.py
@@ -290,7 +290,7 @@ class StatusBar(Widget):
             elif pos >= max_pos:
                 right.add('Bot', base, 'bot')
             else:
-                right.add('{:0.0%}'.format(float(pos) / max_pos),
+                right.add('{0:0.0%}'.format(float(pos) / max_pos),
                         base, 'percentage')
         else:
             right.add('0/0  All', base, 'all')