Merge pull request #360 from ec4n6/patch-1

Fix ipasn.py bug
pull/363/head
Alexandre Dulaunoy 2020-01-09 11:08:28 +01:00 committed by GitHub
commit 91795982be
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:
misperrors['error'] = 'Unable to find the history of this IP'
return misperrors
return {'results': [{'types': mispattributes['output'], 'values': values}]}
return {'results': [{'types': mispattributes['output'], 'values': [str(values)]}]}
def introspection():