mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 16:56:36 -04:00
when warning about broken plugins, escape untranslatable text
This commit is contained in:
parent
24adb7b8bb
commit
2f42e36ffe
1 changed files with 3 additions and 2 deletions
|
@ -85,8 +85,9 @@ class AnkiQt(QMainWindow):
|
|||
try:
|
||||
runHook('init')
|
||||
except:
|
||||
ui.utils.showWarning(_("Broken plugin:\n\n%s") %
|
||||
traceback.format_exc())
|
||||
ui.utils.showWarning(
|
||||
_("Broken plugin:\n\n%s") %
|
||||
unicode(traceback.format_exc(), "utf-8", "replace"))
|
||||
ui.splash.update()
|
||||
ui.splash.finish(self)
|
||||
self.show()
|
||||
|
|
Loading…
Reference in a new issue