mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
switch IMPORT_STYLE to use generic file search
Allows relative paths wrt project directory.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user