summaryrefslogtreecommitdiff
path: root/api/routes/sensors.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/routes/sensors.py')
-rw-r--r--api/routes/sensors.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/routes/sensors.py b/api/routes/sensors.py
index 18e0f84..89744e3 100644
--- a/api/routes/sensors.py
+++ b/api/routes/sensors.py
@@ -24,4 +24,5 @@ async def get_sensors():
}
dc['sensors'].append(dev)
dc['size'] = len(dc['sensors'])
+ session.close()
return dc