diff --git a/src/wormhole/const.py b/src/wormhole/public_relay.py similarity index 100% rename from src/wormhole/const.py rename to src/wormhole/public_relay.py diff --git a/src/wormhole/scripts/runner.py b/src/wormhole/scripts/runner.py index ffa0bf3..b5132ae 100644 --- a/src/wormhole/scripts/runner.py +++ b/src/wormhole/scripts/runner.py @@ -1,6 +1,6 @@ import sys from twisted.python import usage -from .. import const +from .. import public_relay class SendTextOptions(usage.Options): def parseArgs(self, text): @@ -28,9 +28,9 @@ class ReceiveFileOptions(usage.Options): class Options(usage.Options): synopsis = "\nUsage: wormhole " optParameters = [ - ["relay-url", None, const.RENDEZVOUS_RELAY, + ["relay-url", None, public_relay.RENDEZVOUS_RELAY, "rendezvous relay to use (URL)"], - ["transit-helper", None, const.TRANSIT_RELAY, + ["transit-helper", None, public_relay.TRANSIT_RELAY, "transit relay to use (tcp:HOST:PORT)"], ] subCommands = [("send-text", None, SendTextOptions, "Send a text message"),