X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/6e89310a9285f1ad15d8002bf68f578eada367a0..5d302a03a6ed9250b7a280a9bdd0c7e7a9bb2222:/src/nominatim_db/tokenizer/factory.py?ds=inline diff --git a/src/nominatim_db/tokenizer/factory.py b/src/nominatim_db/tokenizer/factory.py index d43929f0..1193f499 100644 --- a/src/nominatim_db/tokenizer/factory.py +++ b/src/nominatim_db/tokenizer/factory.py @@ -41,7 +41,7 @@ def _import_tokenizer(name: str) -> TokenizerModule: "Check the setting of NOMINATIM_TOKENIZER.", name) raise UsageError('Tokenizer not found') - return importlib.import_module('nominatim.tokenizer.' + name + '_tokenizer') + return importlib.import_module('nominatim_db.tokenizer.' + name + '_tokenizer') def create_tokenizer(config: Configuration, init_db: bool = True,