about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-03-28 20:55:04 +0200
committertoonn <toonn@toonn.io>2021-03-28 20:55:04 +0200
commitebcb072b2df0860ba732144e193195d31f161826 (patch)
tree3f1751e0f0e425b5b94f6122a5ebb70fc7725517
parenta9123b0f6b31987782c162c2dd9a7f16d4a68894 (diff)
downloadranger-ebcb072b2df0860ba732144e193195d31f161826.tar.gz
fm: Py2 doesn't handle implicit format references
-rw-r--r--ranger/core/fm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/core/fm.py b/ranger/core/fm.py
index 77aa2260..35bc6673 100644
--- a/ranger/core/fm.py
+++ b/ranger/core/fm.py
@@ -362,7 +362,8 @@ class FM(Actions,  # pylint: disable=too-many-instance-attributes
                 # Abort the operation with an error message if there are entries
                 # that weren't found.
                 names = ', '.join(basenames)
-                self.fm.notify('Error: No such file or directory: {}'.format(names), bad=True)
+                self.fm.notify('Error: No such file or directory: {0}'.format(
+                    names), bad=True)
                 return None
         return result