diff -r 845ca626db09 -r 56e7f4a11046 graphics/GraphicCommons.py --- a/graphics/GraphicCommons.py Thu Aug 17 09:55:39 2017 +0300 +++ b/graphics/GraphicCommons.py Thu Aug 17 10:04:24 2017 +0300 @@ -2631,7 +2631,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 == True and not (self.EndConnected): + if self.ErrHighlight and not (self.EndConnected): highlightcolor = wx.RED else: highlightcolor = HIGHLIGHTCOLOR