src/eric7/Utilities/BackgroundClient.py

branch
eric7
changeset 10522
c04e878aa308
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
diff -r a51b382e47d7 -r c04e878aa308 src/eric7/Utilities/BackgroundClient.py
--- a/src/eric7/Utilities/BackgroundClient.py	Tue Jan 23 11:32:20 2024 +0100
+++ b/src/eric7/Utilities/BackgroundClient.py	Tue Jan 23 12:21:15 2024 +0100
@@ -116,7 +116,7 @@
         @return received bytes or None if connection closed
         @rtype bytes
         """
-        data = b""
+        data = bytearray()
         while len(data) < length:
             newData = self.connection.recv(length - len(data))
             if not newData:

eric ide

mercurial