diff options
author | toonn <toonn@toonn.io> | 2022-02-05 19:29:53 +0100 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2022-02-05 19:29:53 +0100 |
commit | 736eca593d9ddf381e36e60a8e2e8822bcaf67d3 (patch) | |
tree | 8012132489323efa90ffef478f8de6cd89f1f2d4 | |
parent | 6d677bd512952b109ec0c53cceeaecdff695cb20 (diff) | |
download | ranger-736eca593d9ddf381e36e60a8e2e8822bcaf67d3.tar.gz |
Revert "img_display: Drop disappeared Pylint options"
This reverts commit 7ae3f6e2ed2ff6648f4a13d276b6e6b586592720.
-rw-r--r-- | ranger/ext/img_display.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/ext/img_display.py b/ranger/ext/img_display.py index 97b8f43f..43e4203d 100644 --- a/ranger/ext/img_display.py +++ b/ranger/ext/img_display.py @@ -143,6 +143,7 @@ class W3MImageDisplayer(ImageDisplayer, FileManagerAware): self.binary_path = None self.binary_path = self._find_w3mimgdisplay_executable() # may crash # We cannot close the process because that stops the preview. + # pylint: disable=consider-using-with self.process = Popen([self.binary_path] + W3MIMGDISPLAY_OPTIONS, cwd=self.working_dir, stdin=PIPE, stdout=PIPE, universal_newlines=True) self.is_initialized = True @@ -744,6 +745,7 @@ class UeberzugImageDisplayer(ImageDisplayer): return # We cannot close the process because that stops the preview. + # pylint: disable=consider-using-with self.process = Popen(['ueberzug', 'layer', '--silent'], cwd=self.working_dir, stdin=PIPE, universal_newlines=True) self.is_initialized = True |