cmd_send: flush args.stdout, in case it's different
This commit is contained in:
parent
8bec79289a
commit
57c0894774
|
@ -85,7 +85,7 @@ class Sender:
|
||||||
if not args.zeromode:
|
if not args.zeromode:
|
||||||
print(u"Wormhole code is: %s" % code, file=args.stdout)
|
print(u"Wormhole code is: %s" % code, file=args.stdout)
|
||||||
# flush stdout so the code is displayed immediately
|
# flush stdout so the code is displayed immediately
|
||||||
sys.stdout.flush()
|
args.stdout.flush()
|
||||||
print(u"", file=args.stdout)
|
print(u"", file=args.stdout)
|
||||||
|
|
||||||
yield w.establish_key()
|
yield w.establish_key()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user