From 553be55ce0225a8f1181b87269b815d5143c71de Mon Sep 17 00:00:00 2001 From: Adolfo Delorenzo Date: Tue, 16 Jul 2024 02:51:03 +0000 Subject: [PATCH] Update gps00.py --- gps00.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gps00.py b/gps00.py index 0e80101..e3de7c4 100644 --- a/gps00.py +++ b/gps00.py @@ -35,7 +35,7 @@ def convert_to_decimal(coord, direction): def parse_gps_data(gps_string): parts = gps_string.split(',') - if len(parts) < 6: + if len(parts) < 8: return "Invalid GPS data" lat = convert_to_decimal(parts[0], parts[1])