prevents side-effect on foreign objects when appropriate
[plcapi.git] / PLC / Methods / AddNodeToPCU.py
index 4314a67..e57e168 100644 (file)
@@ -34,6 +34,7 @@ class AddNodeToPCU(Method):
             raise PLCInvalidArgument, "No such node"
 
         node = nodes[0]
+       PLCCheckLocalNode(node,"AddNodeToPCU")
 
         # Get PCU
         pcus = PCUs(self.api, [pcu_id])