Avoid newlines in log
This commit is contained in:
parent
7016627086
commit
271d00417c
@ -164,9 +164,9 @@ class WebView(QWebView):
|
|||||||
sender: The object which called the callback.
|
sender: The object which called the callback.
|
||||||
"""
|
"""
|
||||||
self._destroyed[sender] = True
|
self._destroyed[sender] = True
|
||||||
dbgout = '\n'.join(['{}: {}'.format(k.__class__.__name__, v)
|
dbgout = ' / '.join(['{}: {}'.format(k.__class__.__name__, v)
|
||||||
for (k, v) in self._destroyed.items()])
|
for (k, v) in self._destroyed.items()])
|
||||||
log.destroy.debug("{} has been destroyed, new status:\n{}".format(
|
log.destroy.debug("{} has been destroyed, new status: {}".format(
|
||||||
sender.__class__.__name__, dbgout))
|
sender.__class__.__name__, dbgout))
|
||||||
if all(self._destroyed.values()):
|
if all(self._destroyed.values()):
|
||||||
if self._shutdown_callback is not None:
|
if self._shutdown_callback is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user