summaryrefslogtreecommitdiff
path: root/src/wsgi.py
diff options
context:
space:
mode:
authorErnst Widerberg <ernstwi@kth.se>2021-09-28 09:49:35 +0200
committerErnst Widerberg <ernstwi@kth.se>2021-09-28 10:03:51 +0200
commitf3204eecc33c60289ea0c2117ed3316beb59cde5 (patch)
treec503b0aee3cc40af659e54c38c0a7a86c5b1e01a /src/wsgi.py
parentcaef9eeb267fa19bf370274538f97efc6d4b8776 (diff)
Fix: Add list of observations
Diffstat (limited to 'src/wsgi.py')
-rwxr-xr-xsrc/wsgi.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wsgi.py b/src/wsgi.py
index ef1e36f..e99ac74 100755
--- a/src/wsgi.py
+++ b/src/wsgi.py
@@ -99,8 +99,8 @@ class EPAdd(CollectorResource):
resp.text = CollectorResource.parse_error(decodedin)
return
- key = self._db.add(json_data)
- resp.text = repr(key) + '\n'
+ keys = self._db.add(json_data)
+ resp.text = repr(keys) + '\n'
def init(url_res_map, addr='', port=8000):