From 212ea9ec659b9e47090ed40fefaddccfcb290b91 Mon Sep 17 00:00:00 2001 From: d3m1g0d Date: Sun, 31 Mar 2019 11:53:23 +0200 Subject: [PATCH] fixed wrong equation at line 201 --- backend/sensors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/sensors.py b/backend/sensors.py index 83f3125..9bc645b 100644 --- a/backend/sensors.py +++ b/backend/sensors.py @@ -198,7 +198,7 @@ class UVSensor: b = bCorr * 0.00125 # last, calculate the UV index - i = (uva + uvb) / 2 + i = (a + b) / 2 return [a,b,i]