Fix getting history in crash dialog

This commit is contained in:
Florian Bruhin 2017-10-14 22:23:03 +02:00
parent 5dacf1431f
commit bad349aacf

View File

@ -511,7 +511,8 @@ class FatalCrashDialog(_CrashDialog):
if self._chk_history.isChecked(): if self._chk_history.isChecked():
try: try:
history = objreg.get('web-history').get_recent() history = objreg.get('web-history').get_recent()
self._crash_info.append(("History", ''.join(history))) self._crash_info.append(("History",
''.join(e[0] for e in history)))
except Exception: except Exception:
self._crash_info.append(("History", traceback.format_exc())) self._crash_info.append(("History", traceback.format_exc()))