Fix syntax error in debug-exit

This commit is contained in:
Jacob Sword 2017-04-08 18:42:26 -04:00 committed by GitHub
parent 45dff6c0c8
commit 6ccb420230

View File

@ -792,7 +792,7 @@ class Application(QApplication):
def exit(self, status):
"""Extend QApplication::exit to log the event."""
log.destroy.debug("Now calling QApplication::exit.")
if 'debug_exit' in self._args.debug_flags:
if 'debug-exit' in self._args.debug_flags:
if hunter is None:
print("Not logging late shutdown because hunter could not be "
"imported!", file=sys.stderr)