From f6b8655f64e8d0a2e1200e3b1f44c590ccb70f34 Mon Sep 17 00:00:00 2001 From: Sebdraven Date: Mon, 11 Jun 2018 12:29:51 +0200 Subject: [PATCH] correct type of comments --- misp_modules/modules/expansion/onyphe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misp_modules/modules/expansion/onyphe.py b/misp_modules/modules/expansion/onyphe.py index c99de19..9dad860 100644 --- a/misp_modules/modules/expansion/onyphe.py +++ b/misp_modules/modules/expansion/onyphe.py @@ -88,12 +88,12 @@ def handle_expansion(api, ip, misperrors): result_filtered['results'].append({'types': ['domain'], 'values': list(set(domains_resolver)), 'categories': ['Network activity'], - 'comment': ['resolver to %s' % ip]}) + 'comment': 'resolver to %s' % ip }) result_filtered['results'].append({'types': ['domain'], 'values': list(set(domains_forward)), 'categories': ['Network activity'], - 'comment': ['forward to %s' % ip]}) + 'comment': 'forward to %s' % ip}) return result_filtered