mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Unbound var in config panel
This commit is contained in:
parent
0a1e64d88f
commit
3b0bf74274
1 changed files with 2 additions and 2 deletions
|
@ -599,7 +599,7 @@ class BooleanQuestion(Question):
|
|||
|
||||
raise YunohostValidationError(
|
||||
"app_argument_choice_invalid",
|
||||
name=self.name, # FIXME ...
|
||||
name=option.get("name", ""),
|
||||
value=value,
|
||||
choices="yes, no, y, n, 1, 0",
|
||||
)
|
||||
|
@ -619,7 +619,7 @@ class BooleanQuestion(Question):
|
|||
return None
|
||||
raise YunohostValidationError(
|
||||
"app_argument_choice_invalid",
|
||||
name=self.name, # FIXME....
|
||||
name=option.get("name", ""),
|
||||
value=value,
|
||||
choices="yes, no, y, n, 1, 0",
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue