X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/78fcabade88c885f2506911201e52de912204b56..c2bdda8895963cece639a9e93ceff31465b518b5:/nominatim/clicmd/setup.py diff --git a/nominatim/clicmd/setup.py b/nominatim/clicmd/setup.py index 3d04a57a..a3fbb846 100644 --- a/nominatim/clicmd/setup.py +++ b/nominatim/clicmd/setup.py @@ -55,6 +55,8 @@ class SetupAll: from ..tools import database_import, refresh, postcodes, freeze, country_info from ..indexer.indexer import Indexer + country_info.setup_country_config(args.config) + if args.continue_at is None: files = args.get_osm_file_list() @@ -115,7 +117,6 @@ class SetupAll: LOG.warning('Create search index for default country names.') country_info.create_country_names(conn, tokenizer, args.config.LANGUAGES) - conn.commit() if args.no_updates: freeze.drop_update_tables(conn) tokenizer.finalize_import(args.config)