From 227e5bf836558219a94b480d860adc8fb085cb6e Mon Sep 17 00:00:00 2001 From: urec56 Date: Mon, 28 Jul 2025 19:51:19 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BE=D0=B1=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=BA=D1=83=20=D0=BA?= =?UTF-8?q?=D0=BE=D0=BE=D1=80=D0=B4=D0=B8=D0=BD=D0=B0=D1=82=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D0=B6=D0=B8=D0=B6=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/coords/router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coords/router.py b/app/coords/router.py index d60e5b6..c79b3b9 100644 --- a/app/coords/router.py +++ b/app/coords/router.py @@ -39,7 +39,7 @@ def generate_kml(file: StringIO, track_name: str): points = [] for line in file.readlines(): - if line.strip() == line: + if len(line.strip()) == 0: continue coords = line.split(":") coord = coords[0].strip()