Changeset - d969304ee9cb
[Not reviewed]
0 2 0
x - 11 months ago 2024-05-09 18:38:30
xbr@c3l.lu
style: remove empty line spaces
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
backend/mail.py
Show inline comments
 
@@ -13,7 +13,7 @@ class MailHandler(ABC):
 
        self.host = host
 
        self.port = port
 
        self.context = context
 
    
 

	
 
    def connect(self, verification: bool) -> int:
 
        connection = self.protocol_init(self.host, self.port)
 
        if verification:
 
@@ -33,7 +33,7 @@ class MailHandler(ABC):
 
    @abstractmethod
 
    def protocol_starttls_args(self):
 
        raise NotImplementedError()
 
    
 

	
 
    @staticmethod
 
    def create_handler(protocol: str):
 
        if protocol == "smtp":
backend/tls_utils.py
Show inline comments
 
@@ -19,7 +19,7 @@ class TLSDetails:
 
        self.expires_in_days = expires_in_days
 
        self.error_message = error_message
 
        self.connection_error = connection_error
 
    
 

	
 
    def print(self, console: Console):
 
        if self.connection_error:
 
            console.log("[orange bold underline]" + self.domain_name, self.error_message, style="orange")
0 comments (0 inline, 0 general)