From 9a73e34c9672aaae26b2deb912c8d1d50a2481ac Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Mon, 6 Aug 2018 01:22:43 +0200 Subject: [PATCH] [fix] test was bad, we don't want any conflicts --- src/yunohost/domain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/domain.py b/src/yunohost/domain.py index 8220f9022..08d74185b 100644 --- a/src/yunohost/domain.py +++ b/src/yunohost/domain.py @@ -265,7 +265,7 @@ def domain_url_available(auth, domain, path): 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():