Update ipasn.py

pull/360/head
Erick Cheng 2020-01-07 18:58:40 +01:00 committed by GitHub
parent cf5ad29f27
commit bfcba18e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ def handler(q=False):
if not values: if not values:
misperrors['error'] = 'Unable to find the history of this IP' misperrors['error'] = 'Unable to find the history of this IP'
return misperrors return misperrors
return {'results': [{'types': mispattributes['output'], 'values': values}]} return {'results': [{'types': mispattributes['output'], 'values': [str(values)]}]}
def introspection(): def introspection():