summary refs log tree commit diff stats
path: root/ranger/core/runner.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/core/runner.py')
-rw-r--r--ranger/core/runner.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ranger/core/runner.py b/ranger/core/runner.py
index 60e14202..6d03f8fb 100644
--- a/ranger/core/runner.py
+++ b/ranger/core/runner.py
@@ -69,7 +69,7 @@ class Context(object):
     def filepaths(self):
         try:
             return [f.path for f in self.files]
-        except:
+        except Exception:
             return []
 
     def __iter__(self):
@@ -104,12 +104,12 @@ class Runner(object):
             if boolean:
                 try:
                     self.ui.initialize()
-                except:
+                except Exception:
                     self._log("Failed to initialize UI")
             else:
                 try:
                     self.ui.suspend()
-                except:
+                except Exception:
                     self._log("Failed to suspend UI")
 
     def __call__(self, action=None, try_app_first=False,