--- a/graphics/LD_Objects.py Mon Aug 14 23:38:28 2017 +0300
+++ b/graphics/LD_Objects.py Tue Aug 15 12:17:51 2017 +0300
@@ -249,7 +249,7 @@
position = connector.GetRelPosition()
self.RealConnectors.append(max(0., min(float(position.y - self.Extensions[0]) / float(height), 1.)))
elif len(self.Connectors) > 1:
- self.RealConnectors = map(lambda x : x * 1 / (len(self.Connectors) - 1), xrange(len(self.Connectors)))
+ self.RealConnectors = map(lambda x: x * 1 / (len(self.Connectors) - 1), xrange(len(self.Connectors)))
else:
self.RealConnectors = [0.5]
Graphic_Element.OnLeftDown(self, event, dc, scaling)
@@ -428,7 +428,7 @@
return contact
def GetConnectorTranslation(self, element):
- return {self.Input : element.Input, self.Output : element.Output}
+ return {self.Input: element.Input, self.Output: element.Output}
# Returns the RedrawRect
def GetRedrawRect(self, movex = 0, movey = 0):
@@ -743,7 +743,7 @@
return coil
def GetConnectorTranslation(self, element):
- return {self.Input : element.Input, self.Output : element.Output}
+ return {self.Input: element.Input, self.Output: element.Output}
# Returns the RedrawRect
def GetRedrawRect(self, movex = 0, movey = 0):