PLCControler.py
changeset 98 ec5d7af033d8
parent 97 28337cd092fd
child 99 2b18a72dcaf0
--- a/PLCControler.py	Wed Sep 19 13:32:24 2007 +0200
+++ b/PLCControler.py	Wed Sep 19 15:20:59 2007 +0200
@@ -1455,7 +1455,7 @@
             for type, varlist in pou.getVars():
                 for var in varlist.getVariable():
                     if var.getName() == varname:
-                        return var.getType()
+                        return var.getType().getValue()
         return ""
     
     def SetConnectionWires(self, connection, connector):