Fix PEP8: line too long warning
This commit is contained in:
parent
73c28c12f3
commit
43e0ac1844
@ -220,7 +220,9 @@ class _CrashDialog(QDialog):
|
||||
exc: An exception tuple (type, value, traceback)
|
||||
"""
|
||||
try:
|
||||
self._crash_info.append(('Launch time', QApplication.instance().launch_time.strftime("%d-%m-%Y %H:%M:%S")))
|
||||
application = QApplication.instance()
|
||||
launch_time = application.launch_time.strftime("%d-%m-%Y %H:%M:%S")
|
||||
self._crash_info.append(('Launch time', launch_time))
|
||||
except Exception:
|
||||
self._crash_info.append(("Launch time", traceback.format_exc()))
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user