fix sync error message bug

This commit is contained in:
Damien Elmes 2013-06-14 13:06:56 +09:00
parent b71282ea0b
commit e7ec4edf92

View File

@ -333,7 +333,7 @@ class SyncThread(QThread):
err = log
if not isinstance(err, unicode):
err = unicode(err, "utf8", "replace")
self.fireEvent("error", traceback.format_exc())
self.fireEvent("error", err)
return
if ret == "badAuth":
return self.fireEvent("badAuth")