From 382025453ec2adb658e31d46d4f4352d160ca68d Mon Sep 17 00:00:00 2001 From: Sebdraven Date: Fri, 7 May 2021 14:38:42 +0200 Subject: [PATCH] fix bug on loop --- misp_modules/modules/expansion/onyphe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misp_modules/modules/expansion/onyphe.py b/misp_modules/modules/expansion/onyphe.py index eba3564..c777707 100644 --- a/misp_modules/modules/expansion/onyphe.py +++ b/misp_modules/modules/expansion/onyphe.py @@ -106,7 +106,7 @@ class OnypheClient: if type(r['hostname']) is list: for hostname in r['hostname']: self.misp_event.add_attribute( - 'hostname', r['hostname']) + 'hostname', hostname) if 'ip' in r: if type(r['ip']) is str: