SMTP.help() was returning a tuple instead of the promised text.

This commit is contained in:
Kurt B. Kaiser 2005-06-26 18:27:36 +00:00
parent 40c7165e7d
commit 58bd19095a
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ class SMTP:
"""SMTP 'help' command.
Returns help text from server."""
self.putcmd("help", args)
return self.getreply()
return self.getreply()[1]
def rset(self):
"""SMTP 'rset' command -- resets session."""