eric6/DebugClients/Python/DebugVariables.py

changeset 8483
11469e50910f
parent 8243
cc717c2ae956
child 8576
fe1957c69854
--- a/eric6/DebugClients/Python/DebugVariables.py	Wed Jul 21 17:52:39 2021 +0200
+++ b/eric6/DebugClients/Python/DebugVariables.py	Tue Jul 27 19:22:37 2021 +0200
@@ -208,7 +208,7 @@
         try:
             return var[int(attribute)]
         except Exception:
-            return getattr(var, attribute, None)
+            return getattr(var, str(attribute), None)
     
     def getDictionary(self, var):
         """

eric ide

mercurial