From: Robbe Haesendonck Date: Thu, 23 Nov 2023 14:59:01 +0000 (+0100) Subject: Removed unnecessary check for --prepare-database flag X-Git-Tag: v4.4.0~40 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/4f5f5ea8fc3fc640110aaf379d6500fd5854ea6d Removed unnecessary check for --prepare-database flag --- diff --git a/nominatim/clicmd/setup.py b/nominatim/clicmd/setup.py index ca3bf40e..3d212ff9 100644 --- a/nominatim/clicmd/setup.py +++ b/nominatim/clicmd/setup.py @@ -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):