eric7/DebugClients/Python/DebugVariables.py

branch
eric7
changeset 8479
903b7d3b58af
parent 8312
800c432b34c8
child 8568
890dfe038613
--- a/eric7/DebugClients/Python/DebugVariables.py	Wed Jul 21 17:52:39 2021 +0200
+++ b/eric7/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