Skip to content

Commit 8fb691d

Browse files
committed
minor edit to http_charfinder.py
1 parent 2d7a967 commit 8fb691d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

futures/charfinder/http_charfinder.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ def home(request): # <1>
3737
res = ''
3838
msg = 'Enter words describing characters.'
3939

40-
text = template.format(query=query, result=res, message=msg)
40+
html = template.format(query=query, result=res, # <5>
41+
message=msg)
4142
print('Sending {} results'.format(len(descriptions)))
42-
return web.Response(content_type=CONTENT_TYPE, text=text)
43+
return web.Response(content_type=CONTENT_TYPE, text=html)
4344
# END HTTP_CHARFINDER_HOME
4445

4546

0 commit comments

Comments
 (0)