From 9388805471f106bcf75db13bde12cc750b73e99e Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Thu, 23 May 2024 18:30:12 +0000 Subject: [PATCH] zilencer: Fix typo in variable name. --- zilencer/views.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zilencer/views.py b/zilencer/views.py index def17306c1..d9f09cc180 100644 --- a/zilencer/views.py +++ b/zilencer/views.py @@ -172,12 +172,12 @@ def register_remote_server( # Check if the domain has an MX record try: records = DNS.mxlookup(contact_email_domain) - dns_ms_check_successful = True + dns_mx_check_successful = True if not records: - dns_ms_check_successful = False + dns_mx_check_successful = False except DNS.Base.ServerError: - dns_ms_check_successful = False - if not dns_ms_check_successful: + dns_mx_check_successful = False + if not dns_mx_check_successful: raise JsonableError( _("{domain} does not exist or is not configured to accept email.").format( domain=contact_email_domain