diff options
author | hut <hut@lepus.uberspace.de> | 2016-11-04 14:53:09 -0400 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2016-11-04 14:53:09 -0400 |
commit | a1e08c790c3a210d7f54e07b995251831e5f318f (patch) | |
tree | ec8bd25db1353496477a306be902f5911981ae77 /ranger | |
parent | 4d51544a0b5d9172db207944f19ac83150173713 (diff) | |
parent | 28c03b794fdfcc5f0129910d834188324a18d1fe (diff) | |
download | ranger-a1e08c790c3a210d7f54e07b995251831e5f318f.tar.gz |
Merge branch 'statusbar_percentage_crashes' of https://github.com/richboss/ranger
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/statusbar.py | 2 |
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') |