]> git.openstreetmap.org Git - nominatim.git/blobdiff - src/nominatim_db/tokenizer/sanitizers/config.py
work round typing bug in pyosmium 4.0
[nominatim.git] / src / nominatim_db / tokenizer / sanitizers / config.py
index 1ce1a1b72a995095f35e2cb930d67025fa3b552a..034d0791ed56ef6e22c6b72f99ce23bc3953b1b5 100644 (file)
@@ -11,7 +11,7 @@ from typing import Sequence, Union, Optional, Pattern, Callable, Any, TYPE_CHECK
 from collections import UserDict
 import re
 
-from nominatim_core.errors import UsageError
+from ...errors import UsageError
 
 # working around missing generics in Python < 3.8
 # See https://github.com/python/typing/issues/60#issuecomment-869757075