diff --git a/stabilizer.py b/stabilizer.py index a78452f..59c3948 100644 --- a/stabilizer.py +++ b/stabilizer.py @@ -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: