mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
subprocess needs string argument
Compatibility change for Python 3.5.
This commit is contained in:
@@ -99,7 +99,7 @@ def run_osm2pgsql(options):
|
|||||||
""" Run osm2pgsql with the given options.
|
""" Run osm2pgsql with the given options.
|
||||||
"""
|
"""
|
||||||
env = get_pg_env(options['dsn'])
|
env = get_pg_env(options['dsn'])
|
||||||
cmd = [options['osm2pgsql'],
|
cmd = [str(options['osm2pgsql']),
|
||||||
'--hstore', '--latlon', '--slim',
|
'--hstore', '--latlon', '--slim',
|
||||||
'--with-forward-dependencies', 'false',
|
'--with-forward-dependencies', 'false',
|
||||||
'--log-progress', 'true',
|
'--log-progress', 'true',
|
||||||
|
|||||||
Reference in New Issue
Block a user