Fix syntax error in debug-exit
This commit is contained in:
parent
45dff6c0c8
commit
6ccb420230
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user