mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] test was bad, we don't want any conflicts
This commit is contained in:
parent
73f9703756
commit
9a73e34c96
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ def domain_url_available(auth, domain, path):
|
||||||
path -- The path to check (e.g. /coffee)
|
path -- The path to check (e.g. /coffee)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return bool(_get_conflicting_apps(auth, domain, path))
|
return len(_get_conflicting_apps(auth, domain, path)) == 0
|
||||||
|
|
||||||
|
|
||||||
def _get_maindomain():
|
def _get_maindomain():
|
||||||
|
|
Loading…
Add table
Reference in a new issue