From 819916d587f1da7d99cba76a011df623ba4e6dc7 Mon Sep 17 00:00:00 2001 From: Komzpa Date: Fri, 23 Mar 2012 19:24:46 +0300 Subject: [PATCH] typo fix --- src/komap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komap.py b/src/komap.py index 5955178..3552bdf 100644 --- a/src/komap.py +++ b/src/komap.py @@ -208,7 +208,7 @@ if options.renderer == "mapnik": elif locale and "name:"+locale in osm2pgsql_avail_keys or not osm2pgsql_avail_keys: columnmap["name"] = ('COALESCE("name:'+locale+'", "name") AS name',('name:'+locale,)) elif locale: - columnmap["name"] = ("COALESCE(tags->'name:"+locale+'\', "name") AS name',('tags')) + columnmap["name"] = ("COALESCE(tags->'name:"+locale+'\', "name") AS name',('tags',)) mapped_cols = [i[0] for i in columnmap.values()] numerics = set() # set of number-compared things, like "population<10000" needs population as number, not text