mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 21:34:06 +00:00
fix debug output for lookup type
This commit is contained in:
@@ -238,7 +238,7 @@ def _dump_searches(searches: List[AbstractSearch], query: QueryStruct,
|
|||||||
if not lk:
|
if not lk:
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
return f"{lk.lookup_type}({lk.column}{tk(lk.tokens)})"
|
return f"{lk.lookup_type.__name__}({lk.column}{tk(lk.tokens)})"
|
||||||
|
|
||||||
def fmt_cstr(c: Any) -> str:
|
def fmt_cstr(c: Any) -> str:
|
||||||
if not c:
|
if not c:
|
||||||
|
|||||||
Reference in New Issue
Block a user