Utilities: fixed an issue related to a forgotten conversion of str to bytes.

Wed, 21 Nov 2018 19:26:59 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Wed, 21 Nov 2018 19:26:59 +0100
changeset 6596
2d82cd481adc
parent 6595
5665f93a1018
child 6597
dc668f774d3d

Utilities: fixed an issue related to a forgotten conversion of str to bytes.

Utilities/__init__.py file | annotate | diff | comparison | revisions
--- a/Utilities/__init__.py	Sat Nov 17 19:37:46 2018 +0100
+++ b/Utilities/__init__.py	Wed Nov 21 19:26:59 2018 +0100
@@ -408,7 +408,7 @@
     index = 0
     while index < len(text):
         if text[index] == "\\":
-            qb = QByteArray.fromHex(text[index:index + 4])
+            qb = QByteArray.fromHex(text[index:index + 4].encode())
             buf += bytes(qb)
             index += 4
         else:

eric ide

mercurial