Skip to content

Commit 868a6d8

Browse files
author
guocan1
committed
兼容 python 3.7.*
1 parent c6746a5 commit 868a6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def get(self):
1313
http_client = AsyncHTTPClient()
1414
response = yield http_client.fetch("http://www.sinacloud.com")
1515
self.set_header('content-type', 'text/plain')
16-
self.write('Hello, World! ' + response.body[:100])
16+
self.write('Hello, World! ' + str(response.body[:100]))
1717

1818
application = tornado.web.Application([
1919
(r"/", MainHandler),

0 commit comments

Comments
 (0)