Move accommodation max distance to config
This commit is contained in:
parent
a8652d881c
commit
4364c95f25
|
|
@ -91,7 +91,7 @@ def check_trips() -> None:
|
|||
if len(accommodation_coords) != 1 or len(conference_coords) != 1:
|
||||
continue
|
||||
dist = distance_km(conference_coords[0], accommodation_coords[0])
|
||||
assert dist < 5.0
|
||||
assert dist < config.ACCOMODATION_MAX_DISTANCE_KM
|
||||
|
||||
coords, routes = agenda.trip.get_coordinates_and_routes(trip_list, data_dir)
|
||||
print(len(coords), "coords")
|
||||
|
|
|
|||
Loading…
Reference in a new issue