diff options
Diffstat (limited to 'ranger/applications.py')
-rw-r--r-- | ranger/applications.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/applications.py b/ranger/applications.py index 99a40e93..85dc50f5 100644 --- a/ranger/applications.py +++ b/ranger/applications.py @@ -50,8 +50,8 @@ def run(*args, **kw): return process else: - if fm.ui is not None: fm.ui.exit() + if fm.ui: fm.ui.destroy() p = Popen(args, **popen_kw) waitpid_no_intr(p.pid) - if fm.ui is not None: fm.ui.initialize() + if fm.ui: fm.ui.initialize() return p |