aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fietsboek/geo.py2
1 files changed, 1 insertions, 1 deletions
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)