1
0
mirror of https://github.com/searx/searx synced 2024-12-12 08:46:26 +01:00

[fix] answer result type

This commit is contained in:
Adam Tauber 2015-10-26 14:22:27 +01:00 committed by Adam Tauber
parent 3afc9c9c0b
commit a59d171385

View File

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