Fixed a little issue in the error message handler. 5_4_x

Thu, 03 Jul 2014 19:02:29 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 03 Jul 2014 19:02:29 +0200
branch
5_4_x
changeset 3661
9f5d0a07e69b
parent 3651
209c1eb972cb
child 3672
01e4aee3c3ee

Fixed a little issue in the error message handler.

E5Gui/E5ErrorMessage.py file | annotate | diff | comparison | revisions
diff -r 209c1eb972cb -r 9f5d0a07e69b E5Gui/E5ErrorMessage.py
--- a/E5Gui/E5ErrorMessage.py	Sat Jun 28 15:49:02 2014 +0200
+++ b/E5Gui/E5ErrorMessage.py	Thu Jul 03 19:02:29 2014 +0200
@@ -107,7 +107,7 @@
                 messageType = QCoreApplication.translate(
                     "E5ErrorMessage", "Fatal Error:")
             if isinstance(message, bytes):
-                message = message.decode()
+                message = Utilities.decodeBytes(message)
             message = message.replace("\r\n", "<br/>")\
                              .replace("\n", "<br/>")\
                              .replace("\r", "<br/>")

eric ide

mercurial