Turn off flake8 for exception hook.
This commit is contained in:
parent
28dfd73c60
commit
2d1c12f69b
@ -465,7 +465,7 @@ class Application(QApplication):
|
|||||||
except OSError:
|
except OSError:
|
||||||
log.destroy.exception("Could not remove crash log!")
|
log.destroy.exception("Could not remove crash log!")
|
||||||
|
|
||||||
def _exception_hook(self, exctype, excvalue, tb):
|
def _exception_hook(self, exctype, excvalue, tb): # noqa
|
||||||
"""Handle uncaught python exceptions.
|
"""Handle uncaught python exceptions.
|
||||||
|
|
||||||
It'll try very hard to write all open tabs to a file, and then exit
|
It'll try very hard to write all open tabs to a file, and then exit
|
||||||
|
Loading…
Reference in New Issue
Block a user