graphics/LD_Objects.py
branchwxPython4
changeset 3344 4a08728a2ea4
parent 3333 dd49e4055a10
child 3750 f62625418bff
--- a/graphics/LD_Objects.py	Tue Oct 19 13:09:45 2021 +0200
+++ b/graphics/LD_Objects.py	Wed Oct 20 08:57:07 2021 +0200
@@ -405,6 +405,8 @@
             if self.Value is None:
                 self.Value = False
             spreading = self.Input.ReceivingCurrent()
+            if spreading == "undefined":
+                spreading = False
             if self.Type == CONTACT_NORMAL:
                 spreading &= self.Value
             elif self.Type == CONTACT_REVERSE: