mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
config: normalize get option value
This commit is contained in:
parent
25ccbd5f78
commit
f087a6b967
1 changed files with 1 additions and 1 deletions
|
@ -355,7 +355,7 @@ class ConfigPanel:
|
||||||
if isinstance(option, BaseReadonlyOption):
|
if isinstance(option, BaseReadonlyOption):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return self.form[option_id]
|
return option.normalize(self.form[option_id], option)
|
||||||
|
|
||||||
# Format result in 'classic' or 'export' mode
|
# Format result in 'classic' or 'export' mode
|
||||||
self.config.translate()
|
self.config.translate()
|
||||||
|
|
Loading…
Add table
Reference in a new issue