cmd_send: flush args.stdout, in case it's different

This commit is contained in:
Brian Warner 2016-12-17 17:32:12 -08:00
parent 8bec79289a
commit 57c0894774

View File

@ -85,7 +85,7 @@ class Sender:
if not args.zeromode:
print(u"Wormhole code is: %s" % code, file=args.stdout)
# flush stdout so the code is displayed immediately
sys.stdout.flush()
args.stdout.flush()
print(u"", file=args.stdout)
yield w.establish_key()