diff --git a/qutebrowser/app.py b/qutebrowser/app.py index dbac5af7a..91884d3a7 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -268,7 +268,7 @@ class QuteBrowser(QApplication): exc = (exctype, excvalue, tb) sys.__excepthook__(*exc) - if not (isinstance(exctype, Exception) or exctype is Exception): + if not issubclass(exctype, Exception): # probably a KeyboardInterrupt try: self.shutdown()