summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lepus.uberspace.de>2016-11-04 14:53:09 -0400
committerhut <hut@lepus.uberspace.de>2016-11-04 14:53:09 -0400
commita1e08c790c3a210d7f54e07b995251831e5f318f (patch)
treeec8bd25db1353496477a306be902f5911981ae77
parent4d51544a0b5d9172db207944f19ac83150173713 (diff)
parent28c03b794fdfcc5f0129910d834188324a18d1fe (diff)
downloadranger-a1e08c790c3a210d7f54e07b995251831e5f318f.tar.gz
Merge branch 'statusbar_percentage_crashes' of https://github.com/richboss/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')