change type

pull/193/head
Sebdraven 2018-06-11 10:55:44 +02:00
parent ef035d051b
commit 0a543ca0d5
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ def handle_expansion(api, ip, misperrors):
elif r['@category'] == 'synscan':
asn_list.append(r['asn'])
result_filtered['results'].append({'types': ['url'], 'values': urls_pasties,
'category': 'External analysis'})
'category': ['External analysis']})
result_filtered['results'].append({'types': ['AS'], 'values': list(set(asn_list))})
return result_filtered