Fixing JSON dumps

This commit is contained in:
Ryan Summers 2021-02-19 12:29:55 +01:00
parent f6207d86fb
commit 971c53d082

View File

@ -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: