py_ext/PythonFileCTNMixin.py
branchsvghmi
changeset 2985 2ddedeb035e0
parent 2681 abc2088aac4e
child 2692 d4bede6cd3f1
child 2991 ddf6144a56cf
--- a/py_ext/PythonFileCTNMixin.py	Thu Jun 18 14:16:19 2020 +0200
+++ b/py_ext/PythonFileCTNMixin.py	Thu Jun 18 14:18:40 2020 +0200
@@ -119,7 +119,7 @@
                 "opts": repr(variable.getopts()),
                 "configname": configname.upper(),
                 "uppername": variable.getname().upper(),
-                "IECtype": variable.gettype(),
+                "IECtype": self.GetCTRoot().GetBaseType(variable.gettype()),
                 "initial": repr(variable.getinitial()),
                 "pyextname": pyextname
             },