Browse Source

upd: removed unneeded line

Mikael Koli 4 năm trước cách đây
mục cha
commit
de2294652a
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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