Explorar o código

upd: removed unneeded line

Mikael Koli %!s(int64=4) %!d(string=hai) anos
pai
achega
de2294652a
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      redmail/email/sender.py

+ 0 - 2
redmail/email/sender.py

@@ -399,8 +399,6 @@ class EmailSender:
 
     def get_server(self) -> smtplib.SMTP:
         "Connect and get the SMTP Server"
-        if self.connection is not None:
-            return self.connection
         user = self.user_name
         password = self.password