X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8c54a274e7180b0e06f9581bc16305f87c8ae412..9c777560cee052d19f8cd555879d10feed89099e:/nominatim/db/sql_preprocessor.py diff --git a/nominatim/db/sql_preprocessor.py b/nominatim/db/sql_preprocessor.py index a1bf5b7f..c8e07f6e 100644 --- a/nominatim/db/sql_preprocessor.py +++ b/nominatim/db/sql_preprocessor.py @@ -36,7 +36,7 @@ def _setup_tablespace_sql(config): tspace = getattr(config, 'TABLESPACE_{}_{}'.format(subset, kind)) if tspace: tspace = 'TABLESPACE "{}"'.format(tspace) - out['{}_{}'.format(subset.lower, kind.lower())] = tspace + out['{}_{}'.format(subset.lower(), kind.lower())] = tspace return out