Python 3 compatibility in mod_wsgi test.
This commit is contained in:
parent
9c8852d93f
commit
f6f1f77e35
@ -57,4 +57,4 @@ def application(environ, start_response):
|
||||
sys.version, mod_wsgi_version, pymongo.version)
|
||||
response_headers = [('Content-Length', str(len(output)))]
|
||||
start_response('200 OK', response_headers)
|
||||
return [output]
|
||||
return [output.encode('ascii')]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user