From f0ccfd2027f19378c681ab4d5f79191bae3c43cb Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sun, 10 Feb 2019 16:56:01 +0100 Subject: [PATCH] chg: [backscatter.io] blind fix regarding undefined value --- misp_modules/modules/expansion/backscatter_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misp_modules/modules/expansion/backscatter_io.py b/misp_modules/modules/expansion/backscatter_io.py index bfa04f6..0796917 100644 --- a/misp_modules/modules/expansion/backscatter_io.py +++ b/misp_modules/modules/expansion/backscatter_io.py @@ -53,7 +53,7 @@ def handler(q=False): try: bs = Backscatter(checks['config']['api_key']) - response = bs.get_observations(query=output['value'], query_type='ip') + response = bs.get_observations(query=checks['value'], query_type='ip') if not response['success']: misperrors['error'] = '%s: %s' % (response['error'], response['message']) return misperrors