diff options
author | Adam Tauber <asciimoo@gmail.com> | 2015-10-26 14:22:27 +0100 |
---|---|---|
committer | Adam Tauber <adam.tauber@balabit.com> | 2015-10-26 14:22:59 +0100 |
commit | a59d171385a0bfbff1b5df675ec78a88a0323543 (patch) | |
tree | 76c0e3ce56bad7354632caaf4014fcecda681926 /searx/results.py | |
parent | 3afc9c9c0b10eae3e02791dfc1a2bd3fbb3e984d (diff) | |
download | searxng-a59d171385a0bfbff1b5df675ec78a88a0323543.tar.gz searxng-a59d171385a0bfbff1b5df675ec78a88a0323543.zip |
[fix] answer result type
Diffstat (limited to 'searx/results.py')
-rw-r--r-- | searx/results.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |