diff --git a/src/yunohost/app.py b/src/yunohost/app.py index d1f0ac234..2fd5dc23f 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -299,7 +299,7 @@ def app_map(app=None, raw=False, user=None): if not raw: result[url] = perm_label else: - if "/" in url.split("/", 1): + if "/" in url: perm_domain, perm_path = url.split("/", 1) perm_path = '/' + perm_path else: