Merge pull request #767 from meejah/examples-py3

urls are bytes on py3
This commit is contained in:
meejah 2016-12-14 12:24:24 -07:00 committed by GitHub
commit 6caa77d05c

View File

@ -71,7 +71,7 @@ if __name__ == "__main__":
# create a root resource serving everything via WSGI/Flask, but
# the path "/ws" served by our WebSocket stuff
rootResource = WSGIRootResource(wsgiResource, {'ws': wsResource})
rootResource = WSGIRootResource(wsgiResource, {b'ws': wsResource})
# create a Twisted Web Site and run everything
site = Site(rootResource)