set start and finish as primary
All checks were successful
Build and push docker image / Build (pull_request) Successful in 1m34s
Build and release APK / Build APK (pull_request) Successful in 5m3s

This commit is contained in:
2024-09-10 17:11:36 +02:00
parent 055089bf76
commit 797db5c1da
2 changed files with 4 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ class LinkedLandmarks:
# Update 'is_secondary' for landmarks with attractiveness below the threshold score
for landmark in self._landmarks:
if landmark.attractiveness < threshold_score:
if landmark.attractiveness < threshold_score and landmark.type not in ["start", "finish"]:
landmark.is_secondary = True