about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authornfnty <git@nfnty.se>2017-02-14 23:39:33 +0100
committernfnty <git@nfnty.se>2017-02-14 23:39:33 +0100
commit9572d80597aac9575615b488b894fd4d81490bd4 (patch)
tree27e4f61fb9ebdad6bbdcaa45f1e7c2d503aaf11d
parent874ef5c0125176f8a4ddef161477c0971372ebfd (diff)
downloadranger-9572d80597aac9575615b488b894fd4d81490bd4.tar.gz
linting: pylint: `sys.stdout.buffer.write`: Fix `no-member`
-rw-r--r--ranger/ext/img_display.py2
1 files changed, 1 insertions, 1 deletions
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()