Typo fix
This commit is contained in:
parent
a0ad694aa6
commit
5f86af184e
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def get_vectors(bbox, zoom, style, vec = "polygon"):
|
|||
|
||||
a = psycopg2.connect(database)
|
||||
b = a.cursor()
|
||||
if vec != "coastline"
|
||||
if vec != "coastline":
|
||||
b.execute("SELECT * FROM %s LIMIT 1;" % table[vec])
|
||||
names = [q[0] for q in b.description]
|
||||
for i in ignore_columns:
|
||||
|
|
Loading…
Add table
Reference in a new issue