mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Avoid to raise error with bin null and empty value
This commit is contained in:
parent
ce34bb75c4
commit
1d704e7b91
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ class ConfigPanel:
|
|||
for _, _, option in self._iterate():
|
||||
if option["id"] not in self.values:
|
||||
allowed_empty_types = ["alert", "display_text", "markdown", "file"]
|
||||
if option["type"] in allowed_empty_type or option["bind"] == "null":
|
||||
if option["type"] in allowed_empty_types or option["bind"] == "null":
|
||||
continue
|
||||
else:
|
||||
raise YunohostError("config_missing_init_value", question=option["id"])
|
||||
|
|
Loading…
Add table
Reference in a new issue