From cafe2f0914bd8645b67fa177e6886a8d2bbfcd55 Mon Sep 17 00:00:00 2001 From: Davide Bongiovanni Date: Sat, 10 Nov 2018 00:26:03 +0100 Subject: [PATCH] Fixed locations query --- parts/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/server.py b/parts/server.py index 92710ee..1eb2570 100644 --- a/parts/server.py +++ b/parts/server.py @@ -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: