Merge pull request #25 from eu-pi/eupi_expansion_fix

[EUPI] Fix expansion for empty EUPI response
pull/29/head
Alexandre Dulaunoy 2016-06-08 21:44:39 +02:00
commit 0813aaa273
1 changed files with 1 additions and 2 deletions

View File

@ -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):