From 1d1fd365693308a8eecb8ca82f62c06a43d73058 Mon Sep 17 00:00:00 2001 From: Sebdraven Date: Wed, 20 Jun 2018 18:05:28 +0200 Subject: [PATCH] change method to concat methods --- misp_modules/modules/expansion/onyphe_full.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misp_modules/modules/expansion/onyphe_full.py b/misp_modules/modules/expansion/onyphe_full.py index 1187648..9466d8a 100644 --- a/misp_modules/modules/expansion/onyphe_full.py +++ b/misp_modules/modules/expansion/onyphe_full.py @@ -80,7 +80,7 @@ def handle_ip(api, ip, misperrors): r, status_ok = expand_datascan(api, misperrors, ip=ip) if status_ok: - result_filtered['results'].append(r) + result_filtered['results'].extend(r) else: misperrors['error'] = 'Error datascan result %s' % status_ok return misperrors