mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update src/yunohost/domain.py
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
9e86014636
commit
0b035782d0
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ def domain_remove(operation_logger, domain, force=False):
|
|||
for app in _installed_apps():
|
||||
settings = _get_app_settings(app)
|
||||
if settings.get("domain") == domain:
|
||||
apps_on_that_domain.append("%s (on https://%s%s)" % (app, domain, settings.get("path")))
|
||||
apps_on_that_domain.append("%s (on https://%s%s)" % (app, domain, settings["path"]) if "path" in settings else app)
|
||||
|
||||
if apps_on_that_domain:
|
||||
raise YunohostError('domain_uninstall_app_first', apps=", ".join(apps_on_that_domain))
|
||||
|
|
Loading…
Add table
Reference in a new issue