Merge pull request #53 from MISP/Rafiot-patch-1

Dump host info as text
pull/55/head
Alexandre Dulaunoy 2016-09-15 15:59:40 +02:00 committed by GitHub
commit 3b8717f3bf
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ def handler(q=False):
def handle_expansion(api, domain):
return {'results': [{'types': mispattributes['output'], 'values': api.host(domain)}]}
return {'results': [{'types': mispattributes['output'], 'values': json.dumps(api.host(domain))}]}
def introspection():