mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
Removed unnecessary check for --prepare-database flag
This commit is contained in:
committed by
Sarah Hoffmann
parent
5f7cc91cf9
commit
4f5f5ea8fc
@@ -101,7 +101,7 @@ class SetupAll:
|
|||||||
|
|
||||||
if args.continue_at in (None, 'import-from-file'):
|
if args.continue_at in (None, 'import-from-file'):
|
||||||
files = args.get_osm_file_list()
|
files = args.get_osm_file_list()
|
||||||
if not files and not args.prepare_database:
|
if not files:
|
||||||
raise UsageError("No input files (use --osm-file).")
|
raise UsageError("No input files (use --osm-file).")
|
||||||
|
|
||||||
if args.continue_at in ('import-from-file', None):
|
if args.continue_at in ('import-from-file', None):
|
||||||
|
|||||||
Reference in New Issue
Block a user