diff options
Diffstat (limited to 'ranger/core/runner.py')
-rw-r--r-- | ranger/core/runner.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/ranger/core/runner.py b/ranger/core/runner.py index 62da3ff7..60e14202 100644 --- a/ranger/core/runner.py +++ b/ranger/core/runner.py @@ -102,11 +102,15 @@ class Runner(object): def _activate_ui(self, boolean): if self.ui is not None: if boolean: - try: self.ui.initialize() - except: self._log("Failed to initialize UI") + try: + self.ui.initialize() + except: + self._log("Failed to initialize UI") else: - try: self.ui.suspend() - except: self._log("Failed to suspend UI") + try: + self.ui.suspend() + except: + self._log("Failed to suspend UI") def __call__(self, action=None, try_app_first=False, app='default', files=None, mode=0, |