Przeglądaj źródła

upd: removed unneeded line

Mikael Koli 4 lat temu
rodzic
commit
de2294652a
1 zmienionych plików z 0 dodań i 2 usunięć
  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