src/eric7/DebugClients/Python/ThreadExtension.py

branch
eric7
changeset 10293
6c5585c3e543
parent 9653
e67609152c5e
child 10417
c6011e501282
diff -r 0279595d3f59 -r 6c5585c3e543 src/eric7/DebugClients/Python/ThreadExtension.py
--- a/src/eric7/DebugClients/Python/ThreadExtension.py	Tue Nov 07 15:59:19 2023 +0100
+++ b/src/eric7/DebugClients/Python/ThreadExtension.py	Tue Nov 07 16:52:08 2023 +0100
@@ -144,7 +144,7 @@
         threadList = []
         currentId = _thread.get_ident()
         # update thread names set by user (threading.setName)
-        threadNames = {t.ident: t.getName() for t in threading.enumerate()}
+        threadNames = {t.ident: t.name for t in threading.enumerate()}
 
         for threadId, thd in self.threads.items():
             d = {"id": threadId}

eric ide

mercurial