beremiz
Clone
Summary
Browse
Changes
Graph
Fixed bug in Resource POU instance type selection
2013-09-25, Laurent Bessard
a2f2981df9b0
Parents
632780979432
Children
9d0cb01312f0
96b242e4c59d
Fixed bug in Resource POU instance type selection
1 files changed, 1 insertions(+), 1 deletions(-)
+1
-1
PLCControler.py
--- a/PLCControler.py Wed Sep 25 10:47:46 2013 +0200
+++ b/PLCControler.py Wed Sep 25 11:50:40 2013 +0200
@@ -1547,7 +1547,7 @@
project = self.GetProject(debug)
if project is not None:
blocktypes.extend(
- [pou.getblockInfos()
+ [pou.getname()
for pou in project.getpous(filter=["program"])])
return blocktypes