SMTP.help() was returning a tuple instead of the promised text.
This commit is contained in:
parent
40c7165e7d
commit
58bd19095a
|
@ -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."""
|
||||
|
|
Loading…
Reference in New Issue