editors/SFCViewer.py
changeset 1828 396da88d7b5c
parent 1782 5b6ad7a7fd9d
child 1847 6198190bc121
--- 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)