changeset 1311 | 85ca4fa0720b |
parent 1308 | ad61268dbdb6 |
child 1313 | 85c167bfff93 |
--- a/PLCControler.py Tue Sep 10 10:35:18 2013 +0200 +++ b/PLCControler.py Tue Sep 10 10:36:44 2013 +0200 @@ -2376,7 +2376,7 @@ if words[0] == "T" and varname == words[2]: return "BOOL" if words[1] == varname: - return self.GetPouInterfaceReturnType(pou) + return self.GetPouInterfaceReturnType(pou)[0] for type, varlist in pou.getvars(): for var in varlist.getvariable(): if var.getname() == varname: