We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d7a967 commit 8fb691dCopy full SHA for 8fb691d
futures/charfinder/http_charfinder.py
@@ -37,9 +37,10 @@ def home(request): # <1>
37
res = ''
38
msg = 'Enter words describing characters.'
39
40
- text = template.format(query=query, result=res, message=msg)
+ html = template.format(query=query, result=res, # <5>
41
+ message=msg)
42
print('Sending {} results'.format(len(descriptions)))
- return web.Response(content_type=CONTENT_TYPE, text=text)
43
+ return web.Response(content_type=CONTENT_TYPE, text=html)
44
# END HTTP_CHARFINDER_HOME
45
46
0 commit comments