encode data before printing error

This commit is contained in:
Damien Elmes 2008-12-20 18:48:57 +09:00
parent 8ec7b316d9
commit 1166f1804d

View file

@ -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()