X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0ae8d7ac083983e1d7092fb5855c698acc5cb24c..507fdd4f40ea9a7fe77b90847d8e6e90a3cbbbd0:/nominatim/config.py diff --git a/nominatim/config.py b/nominatim/config.py index 28f2fcc3..66375f6c 100644 --- a/nominatim/config.py +++ b/nominatim/config.py @@ -123,7 +123,7 @@ class Configuration: if style in ('admin', 'street', 'address', 'full', 'extratags'): return self.config_dir / 'import-{}.style'.format(style) - return Path(style) + return self.find_config_file('', 'IMPORT_STYLE') def get_os_env(self):