Commit b154747f authored by Alain Leufroy's avatar Alain Leufroy
Browse files

fix typo (closes #3825613)

parent 1f68c47356a9
......@@ -10,7 +10,7 @@ def _update_postgis_metadata(session, rtype, subject, srid, geom_type, coord_dim
""" This fonction update the postgis metadata columns
"""
# this is specific to postgres
if session.vreg.config.sources()['system']['db-driver'] != 'posgtres':
if session.vreg.config.sources()['system']['db-driver'] != 'postgres':
return # hack waiting for a better solution
tn = 'cw_%s' % subject.lower()
gc = 'cw_%s' % rtype.lower()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment