From b613ac1b3bef1ff639bee16d874c55c4da6948f6 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 22 Jun 2016 13:15:07 -0700 Subject: [PATCH] cli.py: add comment --- src/wormhole/cli/cli.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wormhole/cli/cli.py b/src/wormhole/cli/cli.py index c2829d1..631b347 100644 --- a/src/wormhole/cli/cli.py +++ b/src/wormhole/cli/cli.py @@ -178,6 +178,7 @@ def send(cfg, what, text, code, zeromode): cfg.zeromode = zeromode cfg.code = code + # note: react() does not return return react(_dispatch_command, (cfg, lambda: cmd_send.send(cfg))) @@ -228,4 +229,5 @@ def receive(cfg, code, zeromode, output_file, accept_file, only_text): else: cfg.code = None + # note: react() does not return return react(_dispatch_command, (cfg, lambda: cmd_receive.receive(cfg)))