Fix output...

This commit is contained in:
Klaus-Uwe Mitterer 2017-10-12 19:42:08 +02:00
parent d29b5555e3
commit 3fdef90cf3

View file

@ -177,7 +177,7 @@ def application(env, re):
""" """
for row in cur.fetchall(): for row in cur.fetchall():
output += " [ %s, %s ],\n" % (row["lat"], row["lon"]) output += " [ %s, %s ],\n" % (row["lon"], row["lat"])
output = "".join(output.rsplit(",", 1)) output = "".join(output.rsplit(",", 1))