Server: Fix handling start position

This commit is contained in:
Arthur Golubtsov
2020-05-31 18:19:24 +03:00
parent c311a9d4e2
commit db6c16599d

View File

@@ -145,6 +145,10 @@ def check_time_delta(item):
@ModelChecks.column_check("start_position", pass_context=True)
def check_start_pos(item, context):
if len(item) == 6:
if not item[4] in ["takeoff", "fly"]:
return False
if ModelChecks.start_pos_delta_max == 0:
return True