mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
handle errors with foreign characters
This commit is contained in:
parent
554f82c007
commit
1318d8c5f8
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ you can enter it here. Use \\t to represent tab."""),
|
|||
return
|
||||
except Exception, e:
|
||||
msg = _("Import failed.\n")
|
||||
msg += traceback.format_exc()
|
||||
msg += unicode(traceback.format_exc(), "ascii", "replace")
|
||||
self.dialog.status.setText(msg)
|
||||
return
|
||||
finally:
|
||||
|
|
Loading…
Reference in a new issue