mirror of https://github.com/MISP/misp-modules
Merge pull request #25 from eu-pi/eupi_expansion_fix
[EUPI] Fix expansion for empty EUPI responsepull/29/head
commit
0813aaa273
|
@ -53,8 +53,7 @@ def handle_expansion(pyeupi, url):
|
|||
misperrors['error'] = 'Unknown in the EUPI service'
|
||||
return misperrors
|
||||
else:
|
||||
misperrors['error'] = 'Error in EUPI lookup'
|
||||
return misperrors
|
||||
return {'results': [{'types': mispattributes['output'], 'values': ''}]}
|
||||
|
||||
|
||||
def handle_hover(pyeupi, url):
|
||||
|
|
Loading…
Reference in New Issue