add minimum score to consider a way valid (#292)

old-commit-hash: a321836788
This commit is contained in:
Willem Melching
2019-05-06 21:16:38 +02:00
parent 1de23f3d10
commit 6d4c0f387d
+4
View File
@@ -192,6 +192,10 @@ class Way:
closest_way = way
best_score = score
# Normal score is < 5
if best_score > 50:
return None
return closest_way
def __str__(self):