Fixed locations query

master
Davide Bongiovanni 6 years ago
parent 3fb61c0cbd
commit cafe2f0914

@ -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:

Loading…
Cancel
Save