Fixed locations query

This commit is contained in:
2018-11-10 00:26:03 +01:00
parent 3fb61c0cbd
commit cafe2f0914
+1 -1
View File
@@ -49,7 +49,7 @@ def index():
@app.route('/parts/getlocations/')
def get_locations():
s = 'select id, map from locations'
s = 'select id, name from locations'
r = db_engine.execute(text(s))
l = {}
for row in r: