--- a/Viewer.py Tue Feb 26 15:09:55 2008 +0100
+++ b/Viewer.py Tue Feb 26 15:10:58 2008 +0100
@@ -764,14 +764,14 @@
connector.SetPosition(wx.Point(*input_connector["position"]))
if input_connector["negated"]:
connector.SetNegated(True)
- if input_connector["edge"]:
+ if input_connector["edge"] != "none":
connector.SetEdge(input_connector["edge"])
self.CreateWires(connector, input_connector["links"], ids)
for i, output_connector in enumerate(instance["connectors"]["outputs"]):
connector = connectors["outputs"][i]
if output_connector["negated"]:
connector.SetNegated(True)
- if output_connector["edge"]:
+ if output_connector["edge"] != "none":
connector.SetEdge(output_connector["edge"])
connector.SetPosition(wx.Point(*output_connector["position"]))