Utilities/__init__.py

changeset 6596
2d82cd481adc
parent 6545
f669c4c0d39b
child 6645
ad476851d7e0
--- 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