changeset 1382 | 675a6229fc60 |
parent 1371 | 3c55c99b10ab |
child 1400 | 65a751cbb9b9 |
--- a/plcopen/plcopen.py Thu Dec 05 20:03:27 2013 +0100 +++ b/plcopen/plcopen.py Thu Dec 05 20:06:19 2013 +0100 @@ -1333,7 +1333,7 @@ setattr(cls, "getaction", getaction) def getactionList(self): - if self.actions: + if self.actions is not None: return self.actions.getaction() return [] setattr(cls, "getactionList", getactionList)