Fixed bug in Resource POU instance type selection
authorLaurent Bessard
Wed, 25 Sep 2013 11:50:40 +0200
changeset 1328 a2f2981df9b0
parent 1327 632780979432
child 1329 9d0cb01312f0
child 1330 96b242e4c59d
Fixed bug in Resource POU instance type selection
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