diff -r b8b47f9b5e56 -r 396da88d7b5c graphics/GraphicCommons.py --- a/graphics/GraphicCommons.py Fri Sep 22 10:57:57 2017 +0300 +++ b/graphics/GraphicCommons.py Fri Sep 22 16:37:38 2017 +0300 @@ -2652,7 +2652,7 @@ scalex, scaley = dc.GetUserScale() dc.SetUserScale(1, 1) # If user trying to connect wire with wrong input, highlight will become red. - if self.ErrHighlight and not (self.EndConnected): + if self.ErrHighlight and not self.EndConnected: highlightcolor = wx.RED else: highlightcolor = HIGHLIGHTCOLOR