From a59d171385a0bfbff1b5df675ec78a88a0323543 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Mon, 26 Oct 2015 14:22:27 +0100 Subject: [PATCH] [fix] answer result type --- searx/results.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/results.py b/searx/results.py index 2fbb6d6c7..bc656f2ac 100644 --- a/searx/results.py +++ b/searx/results.py @@ -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)