Fixing JSON dumps

This commit is contained in:
Ryan Summers 2021-02-19 12:29:55 +01:00
parent f6207d86fb
commit 971c53d082
1 changed files with 1 additions and 2 deletions

View File

@ -121,9 +121,8 @@ async def configure_settings(args):
for pair in args.values: for pair in args.values:
key, value = pair.split('=') key, value = pair.split('=')
request[str(key)] = parse_value(value) 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}') print(f'+ {response}')
if args.commit: if args.commit: