[fix] I'm a fucking idiot

This commit is contained in:
Laurent Peuch 2017-01-10 02:56:35 +01:00
parent 7f5604653b
commit 8a70c33c40

View file

@ -852,7 +852,7 @@ def _domain_is_resolved_locally(public_ip, domain):
logger.debug("Couldn't get domain '%s' ip because: %s" % (domain, e)) logger.debug("Couldn't get domain '%s' ip because: %s" % (domain, e))
return False return False
logger.debug("Domain '%s' ip is %s, except it to be 127.0.0.1 or %s" % (domain, public_ip)) logger.debug("Domain '%s' ip is %s, except it to be 127.0.0.1 or %s" % (domain, ip, public_ip))
return ip in ["127.0.0.1", public_ip] return ip in ["127.0.0.1", public_ip]