diff --git a/src/txwormhole/tor_manager.py b/src/txwormhole/tor_manager.py index 0625ca3..30e8995 100644 --- a/src/txwormhole/tor_manager.py +++ b/src/txwormhole/tor_manager.py @@ -26,7 +26,7 @@ class TorWebAgentEndpointFactory(object): "contains non-ASCII octets, it should be ASCII " "decodable.").format(uri=uri)) - if uri.scheme == b'http': + if uri.scheme == b'http' or uri.scheme == b'ws': print("building URI endpoint with tor for %s" % uri.toBytes()) return txtorcon.TorClientEndpoint(#self._reactor, host, uri.port,