mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] simplier condition
This commit is contained in:
parent
7dbbd7fdc2
commit
ea179b1683
1 changed files with 1 additions and 4 deletions
|
@ -626,10 +626,7 @@ def _dns_ip_match_public_ip(public_ip, domain):
|
||||||
|
|
||||||
dns_ip = dns_ip["value"]
|
dns_ip = dns_ip["value"]
|
||||||
|
|
||||||
if dns_ip == public_ip:
|
return dns_ip == public_ip
|
||||||
return True
|
|
||||||
else:
|
|
||||||
return False
|
|
||||||
|
|
||||||
|
|
||||||
def _domain_is_accessible_through_HTTP(ip, domain):
|
def _domain_is_accessible_through_HTTP(ip, domain):
|
||||||
|
|
Loading…
Add table
Reference in a new issue