mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 07:22:23 -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 = ""
|
self.pool = ""
|
||||||
|
|
||||||
def write(self, data):
|
def write(self, data):
|
||||||
print data,
|
print data.encode("utf-8"),
|
||||||
self.pool += data
|
self.pool += data
|
||||||
self.updateTimer()
|
self.updateTimer()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue