From d5fc3b5e9992ecd98a12c0f7f726bcb3829c12a4 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 96679d27..ffe7f556 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.39.5