author | laurent |
Tue, 22 May 2012 10:14:24 +0200 | |
changeset 693 | 4ecfbcc09bef |
parent 692 | e00ce7077bfc |
child 694 | b7c1914034f9 |
PLCControler.py | file | annotate | diff | comparison | revisions |
--- a/PLCControler.py Mon May 21 18:50:16 2012 +0200 +++ b/PLCControler.py Tue May 22 10:14:24 2012 +0200 @@ -397,7 +397,7 @@ edit = debug = pou_type is not None if pou_type is None: block_infos = self.GetBlockType(var_type, debug = debug) - if block_infos is None: + if block_infos is not None: pou_type = block_infos["type"] if pou_type is not None: var_class = None