about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorseebye <seebye@users.noreply.github.com>2018-10-25 16:53:37 +0200
committerseebye <seebye@users.noreply.github.com>2018-10-25 16:53:37 +0200
commitf533187b735328956e0c57d7b39677441e1edc85 (patch)
treee7b9c52745bce7068d277193181706a966126a56
parent6351c6cb904b28275b7da3a7d8d7484032887bc1 (diff)
downloadranger-f533187b735328956e0c57d7b39677441e1edc85.tar.gz
ueberzug: fix changed pep8 rules
-rw-r--r--ranger/ext/img_display.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/ext/img_display.py b/ranger/ext/img_display.py
index 4207b22e..eeddd609 100644
--- a/ranger/ext/img_display.py
+++ b/ranger/ext/img_display.py
@@ -690,8 +690,8 @@ class UeberzugImageDisplayer(ImageDisplayer):
 
     def initialize(self):
         """start ueberzug"""
-        if (self.is_initialized and self.process.poll() is None and
-                not self.process.stdin.closed):
+        if (self.is_initialized and self.process.poll() is None
+                and not self.process.stdin.closed):
             return
 
         self.process = Popen(['ueberzug', 'layer', '--silent'],
@@ -719,8 +719,8 @@ class UeberzugImageDisplayer(ImageDisplayer):
             self._execute(action='remove', identifier=self.IMAGE_ID)
 
     def quit(self):
-        if (self.is_initialized and self.process.poll() is None and
-                not self.process.stdin.closed):
+        if (self.is_initialized and self.process.poll() is None
+                and not self.process.stdin.closed):
             timer_term = threading.Timer(1, self.process.terminate, [])
             timer_kill = threading.Timer(2, self.process.kill, [])
             self.process.stdin.close()