From fa6f782e0343ca549bde326a8b5a78ffa7bff00d Mon Sep 17 00:00:00 2001 From: Mike Chabot Date: Sun, 5 Aug 2018 23:48:18 -0400 Subject: [PATCH] Renaming var --- models/smtpconnection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/smtpconnection.py b/models/smtpconnection.py index 8c7a991..32ec380 100644 --- a/models/smtpconnection.py +++ b/models/smtpconnection.py @@ -82,9 +82,9 @@ def __eval_server_features(self): exit(1) server_auth_features = self.server.esmtp_features.get('auth').strip().split() - support_auth_features = { auth_type for auth_type in {'PLAIN', 'LOGIN'} if auth_type in server_auth_features } + supported_auth_features = { auth_type for auth_type in {'PLAIN', 'LOGIN'} if auth_type in server_auth_features } - if not support_auth_features: + if not supported_auth_features: logger.error('SMTP server does not support AUTH PLAIN or AUTH LOGIN.') exit(1)