graphics/LD_Objects.py
changeset 1852 70c1cc354a8f
parent 1847 6198190bc121
child 1872 866fb3ab8778
--- a/graphics/LD_Objects.py	Mon Oct 09 12:30:14 2017 +0300
+++ b/graphics/LD_Objects.py	Mon Oct 09 16:04:39 2017 +0300
@@ -196,7 +196,7 @@
         self.RefreshConnected()
 
     # Refresh the position of wires connected to power rail
-    def RefreshConnected(self, exclude=[]):
+    def RefreshConnected(self, exclude=None):
         for connector in self.Connectors:
             connector.MoveConnected(exclude)
 
@@ -506,7 +506,7 @@
         return LD_ELEMENT_SIZE
 
     # Refresh the position of wire connected to contact
-    def RefreshConnected(self, exclude=[]):
+    def RefreshConnected(self, exclude=None):
         self.Input.MoveConnected(exclude)
         self.Output.MoveConnected(exclude)
 
@@ -826,7 +826,7 @@
         return LD_ELEMENT_SIZE
 
     # Refresh the position of wire connected to coil
-    def RefreshConnected(self, exclude=[]):
+    def RefreshConnected(self, exclude=None):
         self.Input.MoveConnected(exclude)
         self.Output.MoveConnected(exclude)