summaryrefslogtreecommitdiffstats
path: root/Lib/smtplib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/smtplib.py')
-rw-r--r--Lib/smtplib.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py
index 13c56e1..fbef96e 100644
--- a/Lib/smtplib.py
+++ b/Lib/smtplib.py
@@ -912,6 +912,7 @@ if __name__ == '__main__':
def prompt(prompt):
sys.stdout.write(prompt + ": ")
+ sys.stdout.flush()
return sys.stdin.readline().strip()
fromaddr = prompt("From")