diff -r b8b47f9b5e56 -r 396da88d7b5c editors/SFCViewer.py --- a/editors/SFCViewer.py Fri Sep 22 10:57:57 2017 +0300 +++ b/editors/SFCViewer.py Fri Sep 22 16:37:38 2017 +0300 @@ -346,7 +346,7 @@ (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): + if direction == SOUTH or direction == EAST: startblock, endblock = endblock, startblock start = self.GetBlockName(startblock) end = self.GetBlockName(endblock)