diff -r aef88ffa5fbc -r ccb47adebe80 PLCControler.py --- a/PLCControler.py Fri Feb 13 14:45:19 2009 +0100 +++ b/PLCControler.py Wed Feb 25 16:04:26 2009 +0100 @@ -1559,7 +1559,7 @@ # Return edited element transitions def GetEditedElementActions(self, tagname, debug = False): pou = self.GetEditedElement(tagname, debug) - if pou is None and pou.getbodyType() == "SFC": + if pou is not None and pou.getbodyType() == "SFC": actions = [] for action in pou.getactionList(): actions.append(action.getname())