mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Args always empty in config panel
This commit is contained in:
parent
0de69104b1
commit
4c46f41036
1 changed files with 3 additions and 1 deletions
|
@ -1861,11 +1861,13 @@ def app_config_set(operation_logger, app, key=None, value=None, args=None):
|
|||
operation_logger.start()
|
||||
|
||||
# Prepare pre answered questions
|
||||
args = {}
|
||||
if args:
|
||||
args = dict(urllib.parse.parse_qsl(args, keep_blank_values=True)) if args else {}
|
||||
elif value is not None:
|
||||
args = {key: value}
|
||||
else:
|
||||
args = {}
|
||||
|
||||
|
||||
upload_dir = None
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue