mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
encode data before printing error
This commit is contained in:
parent
8ec7b316d9
commit
1166f1804d
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class AnkiQt(QMainWindow):
|
|||
self.pool = ""
|
||||
|
||||
def write(self, data):
|
||||
print data,
|
||||
print data.encode("utf-8"),
|
||||
self.pool += data
|
||||
self.updateTimer()
|
||||
|
||||
|
|
Loading…
Reference in a new issue