From 385762b36d21b0829271e4b6806fbfa3676b1e74 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 7 Oct 2015 16:23:42 -0700 Subject: [PATCH] demo.py: make it easier to modify for local testing --- src/wormhole/twisted/demo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wormhole/twisted/demo.py b/src/wormhole/twisted/demo.py index 6f2947f..bc552e2 100644 --- a/src/wormhole/twisted/demo.py +++ b/src/wormhole/twisted/demo.py @@ -6,8 +6,9 @@ from .transcribe import Wormhole from .. import public_relay APPID = u"lothar.com/wormhole/text-or-file-xfer" +relay_url = public_relay.RENDEZVOUS_RELAY -w = Wormhole(APPID, public_relay.RENDEZVOUS_RELAY) +w = Wormhole(APPID, relay_url) if sys.argv[1] == "send": message = sys.argv[2]