mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 05:35:13 +03:00
Removed unnecessary check for --prepare-database flag
This commit is contained in:
parent
5f7cc91cf9
commit
4f5f5ea8fc
@ -101,7 +101,7 @@ class SetupAll:
|
||||
|
||||
if args.continue_at in (None, 'import-from-file'):
|
||||
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).")
|
||||
|
||||
if args.continue_at in ('import-from-file', None):
|
||||
|
Loading…
Reference in New Issue
Block a user