From 9572d80597aac9575615b488b894fd4d81490bd4 Mon Sep 17 00:00:00 2001 From: nfnty Date: Tue, 14 Feb 2017 23:39:33 +0100 Subject: linting: pylint: `sys.stdout.buffer.write`: Fix `no-member` --- ranger/ext/img_display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ranger/ext/img_display.py b/ranger/ext/img_display.py index a6099236..c88b5a77 100644 --- a/ranger/ext/img_display.py +++ b/ranger/ext/img_display.py @@ -214,7 +214,7 @@ class ITerm2ImageDisplayer(ImageDisplayer, FileManagerAware): if sys.version_info[0] < 3: sys.stdout.write(tparm) else: - sys.stdout.buffer.write(tparm) + sys.stdout.buffer.write(tparm) # pylint: disable=no-member sys.stdout.write(self._generate_iterm2_input(path, width, height)) curses.putp(curses.tigetstr("rc")) sys.stdout.flush() -- cgit 1.4.1-2-gfad0