From 00c619ce34c31cfa14515a96784bed0239a3893e Mon Sep 17 00:00:00 2001 From: Kristjan Komlosi Date: Tue, 2 Jun 2020 09:53:09 +0200 Subject: [PATCH] fixed typo --- backend/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app.py b/backend/app.py index 5fb40fb..a1ec7c0 100644 --- a/backend/app.py +++ b/backend/app.py @@ -11,6 +11,6 @@ def sendData(): s = sensors.Spectrometer(path='/dev/serial0', baudrate=115200, tout=1) u = sensors.UVSensor() l = sensors.LxMeter() - response = flask.jsonify([s.getData(), l.getData(), u.getABI()]) + response = jsonify([s.getData(), l.getData(), u.getABI()]) response.headers.add('Access-Control-Allow-Origin', '*') return response