mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 21:34:06 +00:00
have ADDRESS_LEVEL_CONFIG use load_sub_configuration
This means that relative paths now are looked up in the project directory.
This commit is contained in:
@@ -150,7 +150,7 @@ class SetupAll:
|
||||
refresh.create_functions(conn, config, False, False)
|
||||
LOG.warning('Create tables')
|
||||
database_import.create_tables(conn, config, reverse_only=reverse_only)
|
||||
refresh.load_address_levels_from_file(conn, Path(config.ADDRESS_LEVEL_CONFIG))
|
||||
refresh.load_address_levels_from_config(conn, config)
|
||||
LOG.warning('Create functions (2nd pass)')
|
||||
refresh.create_functions(conn, config, False, False)
|
||||
LOG.warning('Create table triggers')
|
||||
|
||||
Reference in New Issue
Block a user