on master help sign in
[fix] pep8
30bfbf2a01200356
searx/engines/wolframalpha_noapi.py+2−2
@@ -16,7 +16,7 @@ import HTMLParser
16
16
17# search-url
17# search-url
18url = 'http://www.wolframalpha.com/'
18url = 'http://www.wolframalpha.com/'
19−search_url = url+'input/?{query}'
19+search_url = url + 'input/?{query}'
20
20
21# xpath variables
21# xpath variables
22scripts_xpath = '//script'
22scripts_xpath = '//script'
@@ -61,7 +61,7 @@ def response(resp):
61
61
62 if line:
62 if line:
63 # extract answer from json
63 # extract answer from json
64− answer = line[line.find('{'):line.rfind('}')+1]
64+ answer = line[line.find('{'):line.rfind('}') + 1]
65 try:
65 try:
66 answer = loads(answer)
66 answer = loads(answer)
67 except Exception:
67 except Exception: