Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
zilencer: Fix typo in variable name.
Alex Vandiver9388805471f1
diff --git a/zilencer/views.py b/zilencer/views.pyindex def17306c14..d9f09cc1800 100644--- a/zilencer/views.py+++ b/zilencer/views.py@@ -172,12 +172,12 @@ def register_remote_server(# Check if the domain has an MX recordtry:records = DNS.mxlookup(contact_email_domain)- dns_ms_check_successful = True+ dns_mx_check_successful = Trueif not records:- dns_ms_check_successful = False+ dns_mx_check_successful = Falseexcept 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