Skip to content

SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.

[fix] pep8

a0120035630bfbf2e07de
diff --git a/searx/engines/wolframalpha_noapi.py b/searx/engines/wolframalpha_noapi.py
index 442e894b5..291fee04d 100644
--- a/searx/engines/wolframalpha_noapi.py
+++ b/searx/engines/wolframalpha_noapi.py
@@ -16,7 +16,7 @@ import HTMLParser
# search-url
url = 'http://www.wolframalpha.com/'
-search_url = url+'input/?{query}'
+search_url = url + 'input/?{query}'
# xpath variables
scripts_xpath = '//script'
@@ -61,7 +61,7 @@ def response(resp):
if line:
# extract answer from json
- answer = line[line.find('{'):line.rfind('}')+1]
+ answer = line[line.find('{'):line.rfind('}') + 1]
try:
answer = loads(answer)
except Exception: