differentiate between place searches with and without address

This commit is contained in:
Sarah Hoffmann
2025-07-07 11:17:01 +02:00
parent 13eaea8aae
commit c634e9fc5f
6 changed files with 38 additions and 23 deletions

View File

@@ -32,7 +32,7 @@ def run_search(apiobj, frontend, global_penalty, cat, cat_penalty=None, ccodes=[
if ccodes is not None:
details.countries = ccodes
place_search = PlaceSearch(0.0, PlaceSearchData(), 2)
place_search = PlaceSearch(0.0, PlaceSearchData(), 2, False)
if cat_penalty is None:
cat_penalty = [0.0] * len(cat)