Browse Source

fix a crash

Sven Czarnian 3 năm trước cách đây
mục cha
commit
bd0fdb0899
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      aman/sys/Worker.py

+ 1 - 1
aman/sys/Worker.py

@@ -106,7 +106,7 @@ class Worker(Thread):
                 for runway in self.SequencingConfiguration.ActiveArrivalRunways:
                     inbound = self.RecedingHorizonControl.lastFixedInboundOnRunway(runway.Runway.Name)
                     if None != inbound:
-                        preceedingInbounds[runway.Runway.Name] = inbound
+                        preceedingInbounds[runway.Runway.Name] = Node(inbound, None, None, None, None)
 
                 # configure the ACO run
                 acoConfig = Configuration(constraints = self.SequencingConfiguration, nav = self.Configuration.GngData,