about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2020-07-05 15:25:24 +0200
committertoonn <toonn@toonn.io>2020-07-05 15:25:24 +0200
commit9e6d29ab46bc44b90a69d55e095067fcabc115e3 (patch)
treefebecdd19e6905a20f0564fb52e93e74cb4e575f /ranger
parent6a871101331b9b6ea19958946cfd4f5845505d38 (diff)
downloadranger-9e6d29ab46bc44b90a69d55e095067fcabc115e3.tar.gz
Fix two issues caught by pylint3k
One lacking `from __future__ import absolute_import` and one
implicit-format-spec (a custom check!) : )
Diffstat (limited to 'ranger')
-rw-r--r--ranger/ext/macrodict.py1
-rw-r--r--ranger/gui/ui.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/ranger/ext/macrodict.py b/ranger/ext/macrodict.py
index 8a8a4a3d..b4613fbc 100644
--- a/ranger/ext/macrodict.py
+++ b/ranger/ext/macrodict.py
@@ -1,3 +1,4 @@
+from __future__ import absolute_import
 import sys
 
 
diff --git a/ranger/gui/ui.py b/ranger/gui/ui.py
index d820d4a9..f0f81c88 100644
--- a/ranger/gui/ui.py
+++ b/ranger/gui/ui.py
@@ -534,7 +534,7 @@ class UI(  # pylint: disable=too-many-instance-attributes,too-many-public-method
                 self.fm.notify("Could not restore multiplexer window name!",
                                bad=True)
 
-            sys.stdout.write("\033k{}\033\\".format(self._multiplexer_title))
+            sys.stdout.write("\033k{0}\033\\".format(self._multiplexer_title))
             sys.stdout.flush()
 
     def hint(self, text=None):