Skip to content

Commit

Permalink
fix case leading points are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Golfari committed Sep 22, 2024
1 parent 3d2e88e commit 70bbf00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airscore/core/flightcheck/flightcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def calculate_final_results(
if tp.made_all:
evaluate_goal(result, task)

else:
elif lead_coeff:
'''save optimised best_dist_to_ESS for LC calculation'''
result.best_dist_to_ESS = lead_coeff.best_dist_to_ess_m

Expand Down

0 comments on commit 70bbf00

Please sign in to comment.