Skip to content

Commit

Permalink
Add py3 compat to example in docstring of wsgi mod
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Mar 12, 2018
2 parents b42cd7d + 6f54a24 commit 018a850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cheroot/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def my_crazy_app(environ, start_response):
status = '200 OK'
response_headers = [('Content-type','text/plain')]
start_response(status, response_headers)
return ['Hello world!']
return [b'Hello world!']
addr = '0.0.0.0', 8070
server = wsgi.Server(addr, my_crazy_app)
Expand Down

0 comments on commit 018a850

Please sign in to comment.