diff -r bcc07ff2362c -r d5df428640ff editors/SFCViewer.py --- a/editors/SFCViewer.py Thu Aug 17 14:27:06 2017 +0300 +++ b/editors/SFCViewer.py Thu Aug 17 15:43:25 2017 +0300 @@ -342,8 +342,8 @@ # This method check the IEC 61131-3 compatibility between two SFC blocks def BlockCompatibility(self, startblock=None, endblock=None, direction=None): - if startblock is not None and endblock is not None and (isinstance(startblock, SFC_Objects)\ - or isinstance(endblock, SFC_Objects)): + if startblock is not None and endblock is not None and \ + (isinstance(startblock, SFC_Objects) or isinstance(endblock, SFC_Objects)): # Full "SFC_StandardRules" table would be symmetrical and # to avoid duplicate records and minimize the table only upper part is defined. if (direction == SOUTH or direction == EAST):