demo.py: make it easier to modify for local testing
This commit is contained in:
parent
df3aee2a86
commit
385762b36d
|
@ -6,8 +6,9 @@ from .transcribe import Wormhole
|
||||||
from .. import public_relay
|
from .. import public_relay
|
||||||
|
|
||||||
APPID = u"lothar.com/wormhole/text-or-file-xfer"
|
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":
|
if sys.argv[1] == "send":
|
||||||
message = sys.argv[2]
|
message = sys.argv[2]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user