From e26f7a861a5938617077a15627ef5ad048f8e84f Mon Sep 17 00:00:00 2001 From: Arthur Golubtsov Date: Fri, 1 Nov 2019 19:12:14 +0300 Subject: [PATCH] copter_table_models: Update position column check --- Server/copter_table_models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Server/copter_table_models.py b/Server/copter_table_models.py index 1b48f36..dd669bf 100644 --- a/Server/copter_table_models.py +++ b/Server/copter_table_models.py @@ -311,7 +311,7 @@ def check_selfcheck(item): def check_pos_status(item): if not item: return None - return item.split(' ')[0] != 'nan' or item.split(' ')[0] != 'NO_POS' + return item.split(' ')[0] != 'nan' and item.split(' ')[0] != 'NO_POS' @col_check(9) def check_start_pos_status(item):