summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorMark Rogalski <interesting.ones.are.already.taken@gmail.com>2016-05-16 19:38:25 +0200
committerMark Rogalski <interesting.ones.are.already.taken@gmail.com>2016-05-16 19:38:25 +0200
commit184a82630cc565556de1ab9033692bb657323f38 (patch)
tree4a2a0c85c2f018f5db3346f9cd81159016edf683 /ranger
parent5a7c4334e7c18eeb799c2474ecf3266ed55bc74c (diff)
downloadranger-184a82630cc565556de1ab9033692bb657323f38.tar.gz
Remove superfluous str() from formatting linum
Diffstat (limited to 'ranger')
-rw-r--r--ranger/gui/widgets/browsercolumn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/browsercolumn.py b/ranger/gui/widgets/browsercolumn.py
index 0344786c..a69b24cc 100644
--- a/ranger/gui/widgets/browsercolumn.py
+++ b/ranger/gui/widgets/browsercolumn.py
@@ -302,7 +302,7 @@ class BrowserColumn(Pager):
             if linum_mode_is_set:
                 if self.main_column and space - linum_text_len > 2:
                     linum_format = "{0:>" + str(linum_text_len) + "}"
-                    line_number_text = linum_format.format(str(i))
+                    line_number_text = linum_format.format(i)
 
                     predisplay_left.append([line_number_text, ["directory"]])
                     space -= linum_text_len