mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] defaultapp: domain may not exist in app_map dict output
This commit is contained in:
parent
b49e1bad53
commit
efe0e60182
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ class DomainConfigPanel(ConfigPanel):
|
|||
):
|
||||
from yunohost.app import app_ssowatconf, app_map
|
||||
|
||||
if "/" in app_map(raw=True)[self.entity]:
|
||||
if "/" in app_map(raw=True).get(self.entity, {}):
|
||||
raise YunohostValidationError(
|
||||
"app_make_default_location_already_used",
|
||||
app=self.future_values["default_app"],
|
||||
|
|
Loading…
Add table
Reference in a new issue