src/eric7/Utilities/BackgroundClient.py

branch
eric7
changeset 10522
c04e878aa308
parent 10439
21c28b0f9e41
child 11090
f5f5f5803935
--- 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