mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Fixing previous commit
This commit is contained in:
parent
6bfe1c8083
commit
e2e1fce44e
1 changed files with 1 additions and 1 deletions
|
@ -665,7 +665,7 @@ def _dns_ip_match_public_ip(public_ip, domain):
|
|||
except (dns.resolver.NoAnswer, dns.resolver.NXDOMAIN) :
|
||||
raise MoulinetteError(errno.EINVAL, m18n.n('certmanager_error_no_A_record', domain=domain))
|
||||
|
||||
dns_ip = answers[0]
|
||||
dns_ip = str(answers[0])
|
||||
|
||||
return dns_ip == public_ip
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue