Sfoglia il codice sorgente

upd: removed unneeded line

Mikael Koli 4 anni fa
parent
commit
de2294652a
1 ha cambiato i file con 0 aggiunte e 2 eliminazioni
  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