Fixing JSON dumps
This commit is contained in:
parent
f6207d86fb
commit
971c53d082
@ -121,9 +121,8 @@ async def configure_settings(args):
|
||||
for pair in args.values:
|
||||
key, value = pair.split('=')
|
||||
request[str(key)] = parse_value(value)
|
||||
response = json.dumps(request)
|
||||
|
||||
response = await interface.set_setting(args.setting, request)
|
||||
response = await interface.set_setting(args.setting, json.dumps(request))
|
||||
print(f'+ {response}')
|
||||
|
||||
if args.commit:
|
||||
|
Loading…
Reference in New Issue
Block a user