author | Laurent Bessard |
Wed, 18 Sep 2013 15:26:33 +0200 | |
changeset 1318 | 758801f4b296 |
parent 1317 | 177d7cd76a3e |
child 1319 | 748347102c97 |
--- a/plcopen/plcopen.py Fri Sep 13 17:26:47 2013 +0200 +++ b/plcopen/plcopen.py Wed Sep 18 15:26:33 2013 +0200 @@ -1625,7 +1625,7 @@ def removecontentInstance(self, local_id): if self.content.getLocalTag() in ["LD","FBD","SFC"]: - instance = instance_by_id_xpath(self.content) + instance = instance_by_id_xpath(self.content, localId=local_id) if len(instance) > 0: self.content.remove(instance[0]) else: