summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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