chg: [backscatter.io] blind fix regarding undefined value

pull/276/head
Alexandre Dulaunoy 2019-02-10 16:56:01 +01:00
parent e7dca76cd2
commit f0ccfd2027
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 1 additions and 1 deletions

View File

@ -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