From 46ec0373076e7a836ef121c7a0d41f8554868bd2 Mon Sep 17 00:00:00 2001 From: urec56 Date: Mon, 28 Jul 2025 19:44:53 +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, 2 insertions(+) diff --git a/app/coords/router.py b/app/coords/router.py index 75419a8..d60e5b6 100644 --- a/app/coords/router.py +++ b/app/coords/router.py @@ -39,6 +39,8 @@ def generate_kml(file: StringIO, track_name: str): points = [] for line in file.readlines(): + if line.strip() == line: + continue coords = line.split(":") coord = coords[0].strip() current_label = int(coords[1].strip())