src/eric7/DebugClients/Python/AsyncFile.py

branch
eric7
changeset 11158
54a10654770d
parent 11148
15e30f0c76a8
child 11162
72c5e052996a
--- a/src/eric7/DebugClients/Python/AsyncFile.py	Sat Mar 01 16:39:21 2025 +0100
+++ b/src/eric7/DebugClients/Python/AsyncFile.py	Sat Mar 01 17:30:59 2025 +0100
@@ -69,6 +69,9 @@
         self.writeLock = threading.RLock()
         self.wpending = []
 
+        self.buffer = self
+        # The 'io.BufferedWriter' object points to ourselves.
+
     def __checkMode(self, mode):
         """
         Private method to check the mode.

eric ide

mercurial