Permalink
Browse files

Merge pull request #767 from meejah/examples-py3

urls are bytes on py3
  • Loading branch information...
2 parents 7635b76 + b52c489 commit 6caa77d05ce390aa5db653e939a177d6adee5848 @meejah meejah committed on GitHub Dec 14, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 examples/twisted/websocket/echo_wsgi/server.py
@@ -71,7 +71,7 @@ def page_home():
# 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)

0 comments on commit 6caa77d

Please sign in to comment.