mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
fix template expressions for tablespaces
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user