forked from Ponysearch/Ponysearch
[fix] answer result type
This commit is contained in:
parent
3afc9c9c0b
commit
a59d171385
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ class ResultContainer(object):
|
|||
self.suggestions.add(result['suggestion'])
|
||||
results.remove(result)
|
||||
elif 'answer' in result:
|
||||
self.answers.add(result['suggestion'])
|
||||
self.answers.add(result['answer'])
|
||||
results.remove(result)
|
||||
elif 'infobox' in result:
|
||||
self._merge_infobox(result)
|
||||
|
|
Loading…
Reference in a new issue