From 485fcb9107957d391af3c30db5d577ed84f7e6e9 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Mon, 12 Oct 2026 08:59:20 +0200 Subject: also leave out extra point when checking climb len --- fietsboek/geo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fietsboek/geo.py b/fietsboek/geo.py index 3a38ee1..2e6132d 100644 --- a/fietsboek/geo.py +++ b/fietsboek/geo.py @@ -233,7 +233,7 @@ class Path: # climbs shorter than the minimum amount again. Therefore, we do another # filtering step here. for i, j in self._trimmed_climbs(): - path = Path(self.points[i : j + 1]) + path = Path(self.points[i:j]) if path.movement_data().length >= CLIMB_MIN_LENGTH: yield (i, j) -- cgit v1.2.3