From 243394b1c2971f86d5a92f9fbb02c487cf2b54de Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Fri, 23 Apr 2021 21:49:41 +0200 Subject: [PATCH] subprocess needs string argument Compatibility change for Python 3.5. --- nominatim/tools/exec_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nominatim/tools/exec_utils.py b/nominatim/tools/exec_utils.py index e6b9d8d4..88940461 100644 --- a/nominatim/tools/exec_utils.py +++ b/nominatim/tools/exec_utils.py @@ -99,7 +99,7 @@ def run_osm2pgsql(options): """ Run osm2pgsql with the given options. """ env = get_pg_env(options['dsn']) - cmd = [options['osm2pgsql'], + cmd = [str(options['osm2pgsql']), '--hstore', '--latlon', '--slim', '--with-forward-dependencies', 'false', '--log-progress', 'true', -- 2.45.1