summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLib/smtplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py
index 6f51cb0..b9c7f51 100755
--- a/Lib/smtplib.py
+++ b/Lib/smtplib.py
@@ -523,7 +523,7 @@ if __name__ == '__main__':
return sys.stdin.readline().strip()
fromaddr = prompt("From")
- toaddrs = ','.split(prompt("To"))
+ toaddrs = prompt("To").split(',')
print "Enter message, end with ^D:"
msg = ''
while 1: