This commit is contained in:
Joseph Cheung 2023-03-05 00:37:25 +08:00
parent b92f620ce3
commit 233ce9b3d0

View file

@ -114,15 +114,13 @@ def response(resp):
if not result_chunks: if not result_chunks:
return [] return []
# results.append( results.append(
# { {
# 'infobox': infobox_title, 'infobox': infobox_title,
# 'attributes': result_chunks, 'attributes': result_chunks,
# 'urls': [{'title': 'WolframAlpha', 'url': resp.request.headers['Referer']}], 'urls': [{'title': 'WolframAlpha', 'url': resp.request.headers['Referer']}],
# } }
# ) )
results.append({'answer': result_chunks})
results.append( results.append(
{ {