@@ -16,7 +16,7 @@ import HTMLParser
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}'
21# xpath variables
21# xpath variables
22scripts_xpath = '//script'
22scripts_xpath = '//script'
@@ -61,7 +61,7 @@ def response(resp):
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]
66 answer = loads(answer)
66 answer = loads(answer)
67 except Exception:
67 except Exception: