diff --git a/src/wormhole/cli/cmd_send.py b/src/wormhole/cli/cmd_send.py index c4811af..9904c58 100644 --- a/src/wormhole/cli/cmd_send.py +++ b/src/wormhole/cli/cmd_send.py @@ -40,7 +40,8 @@ def send(args, reactor=reactor): tor_manager = None if args.tor: - from ..twisted.tor_manager import TorManager + with args.timing.add("import", which="tor_manager"): + from ..twisted.tor_manager import TorManager tor_manager = TorManager(reactor, timing=args.timing) # For now, block everything until Tor has started. Soon: launch tor # in parallel with everything else, make sure the TorManager can