X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e42349c963bfc1ef5f2db880804d7cbeff5a564f..8e1d4818aca13a7a0a992af7ba8c5b9ff47f65ed:/nominatim/tools/exec_utils.py diff --git a/nominatim/tools/exec_utils.py b/nominatim/tools/exec_utils.py index 6177b15f..cb39ad48 100644 --- a/nominatim/tools/exec_utils.py +++ b/nominatim/tools/exec_utils.py @@ -130,6 +130,9 @@ def run_osm2pgsql(options): if 'import_data' in options: cmd.extend(('-r', 'xml', '-')) + elif isinstance(options['import_file'], list): + for fname in options['import_file']: + cmd.append(str(fname)) else: cmd.append(str(options['import_file']))