X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/dc7c11a9d1320965505ba18725466b0e9a648fde..4825a0bda3e2b5d6a9c153b7cd0b8da2959cbc81:/src/nominatim_api/search/query_analyzer_factory.py diff --git a/src/nominatim_api/search/query_analyzer_factory.py b/src/nominatim_api/search/query_analyzer_factory.py index e10d7a7a..06443090 100644 --- a/src/nominatim_api/search/query_analyzer_factory.py +++ b/src/nominatim_api/search/query_analyzer_factory.py @@ -49,6 +49,6 @@ async def make_query_analyzer(conn: SearchConnection) -> AbstractQueryAnalyzer: log().comment(f"No tokenizer named '{name}' available. Database not set up properly.") raise RuntimeError('Tokenizer not found') - module = importlib.import_module(f'nominatim_api.api.search.{name}_tokenizer') + module = importlib.import_module(f'nominatim_api.search.{name}_tokenizer') return cast(AbstractQueryAnalyzer, await module.create_query_analyzer(conn))