author | Laurent Bessard |
Fri, 08 Jun 2012 12:36:24 +0200 | |
changeset 707 | e850bc674852 |
parent 706 | 9920d8c07e5e |
child 708 | cf8f5749558d |
PLCControler.py | file | annotate | diff | comparison | revisions |
--- a/PLCControler.py Wed Jun 06 19:04:18 2012 +0200 +++ b/PLCControler.py Fri Jun 08 12:36:24 2012 +0200 @@ -314,7 +314,7 @@ if properties is not None: self.Project.setfileHeader(properties) self.Project.setcontentHeader(properties) - if buffer and name is not None or properties is not None: + if buffer and (name is not None or properties is not None): self.BufferProject() # Return project name