From cf963db31d603abbd93ee56271a16603b525dad5 Mon Sep 17 00:00:00 2001 From: Ernst Widerberg Date: Tue, 12 Oct 2021 15:59:24 +0200 Subject: Flatten GET output --- src/wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wsgi.py') diff --git a/src/wsgi.py b/src/wsgi.py index 54d18d3..2728d23 100755 --- a/src/wsgi.py +++ b/src/wsgi.py @@ -70,7 +70,7 @@ class EPGet(CollectorResource): selectors['domain'] = org data = self._db.search(**selectors) if data: - out.append(data) + out += data resp.text = json.dumps({'status': 'success', 'data': out}) -- cgit v1.1