eric6/DebugClients/Python/DebugVariables.py

branch
maintenance
changeset 8576
fe1957c69854
parent 8273
698ae46f40a4
parent 8483
11469e50910f
--- a/eric6/DebugClients/Python/DebugVariables.py	Sat Jul 03 11:47:48 2021 +0200
+++ b/eric6/DebugClients/Python/DebugVariables.py	Sat Sep 04 11:34:54 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