fix potential crashes
This commit is contained in:
@@ -147,6 +147,9 @@ class Node:
|
||||
self.ArrivalCandidates = {}
|
||||
self.Inbound = inbound
|
||||
|
||||
if None == referenceTime or None == sequencingConfig:
|
||||
return
|
||||
|
||||
# predict the distance to IAF
|
||||
timePrediction = (referenceTime - inbound.ReportTime).total_seconds()
|
||||
if 0 != timePrediction and 0 != len(sequencingConfig.ActiveArrivalRunways):
|
||||
|
||||
Reference in New Issue
Block a user