mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 21:34:06 +00:00
Fixed legacy import command
Check whether prepare-database is true, if so exit early
This commit is contained in:
committed by
Sarah Hoffmann
parent
7d28fc35d1
commit
567c31ab6a
@@ -102,7 +102,8 @@ class SetupAll:
|
|||||||
LOG.warning('Creating database')
|
LOG.warning('Creating database')
|
||||||
database_import.setup_database_skeleton(args.config.get_libpq_dsn(),
|
database_import.setup_database_skeleton(args.config.get_libpq_dsn(),
|
||||||
rouser=args.config.DATABASE_WEBUSER)
|
rouser=args.config.DATABASE_WEBUSER)
|
||||||
return 0
|
if args.prepare_database:
|
||||||
|
return 0
|
||||||
|
|
||||||
if args.continue_at in ('import-from-file', None):
|
if args.continue_at in ('import-from-file', None):
|
||||||
# Check if the correct plugins are installed
|
# Check if the correct plugins are installed
|
||||||
|
|||||||
Reference in New Issue
Block a user