Removed unnecessary check for --prepare-database flag

This commit is contained in:
Robbe Haesendonck 2023-11-23 15:59:01 +01:00 committed by Sarah Hoffmann
parent 5f7cc91cf9
commit 4f5f5ea8fc

View File

@ -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):