mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 13:24:07 +00:00
no longer accept None in result maker functions
This commit is contained in:
@@ -121,7 +121,6 @@ class PostcodeSearch(base.AbstractSearch):
|
||||
else:
|
||||
result = nres.create_from_postcode_row(row, nres.SearchResult)
|
||||
|
||||
assert result
|
||||
if result.place_id not in details.excluded:
|
||||
result.accuracy = row.accuracy
|
||||
results.append(result)
|
||||
|
||||
Reference in New Issue
Block a user