diff options
-rw-r--r-- | ranger/core/loader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/core/loader.py b/ranger/core/loader.py index 53d9dc6e..56395ae8 100644 --- a/ranger/core/loader.py +++ b/ranger/core/loader.py @@ -70,7 +70,7 @@ class CommandLoader(LoadableObject): self.notify(process.stderr.readline(), bad=True) sleep(0.02) yield - if self.end_hook(process): + if self.end_hook: self.end_hook(process) def destroy(self): |