]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_db/tokenizer/place_sanitizer.py
adapt plugin imports
[nominatim.git] / src / nominatim_db / tokenizer / place_sanitizer.py
index da41692bfed2fa4a7d5853c75184744c47d19c1c..546d0da33c4b9ecb16844f099179c935f3ce5fa0 100644 (file)
@@ -35,7 +35,7 @@ class PlaceSanitizer:
                     raise UsageError("'step' attribute must be a simple string.")
 
                 module: SanitizerHandler = \
-                    config.load_plugin_module(func['step'], 'nominatim.tokenizer.sanitizers')
+                    config.load_plugin_module(func['step'], 'nominatim_db.tokenizer.sanitizers')
 
                 self.handlers.append(module.create(SanitizerConfig(func)))