revert PrintJSON to use key data, to match with documented behaviour

This commit is contained in:
Fabian Dill
2021-03-02 22:36:50 +01:00
parent 7871555620
commit 0917f21384
3 changed files with 7 additions and 3 deletions

View File

@@ -945,7 +945,7 @@ async def process_server_cmd(ctx: Context, args: dict):
logger.info(args["text"])
elif cmd == 'PrintJSON':
logger.info(ctx.jsontotextparser(args["text"]))
logger.info(ctx.jsontotextparser(args["data"]))
elif cmd == 'InvalidArguments':
logger.warning(f"Invalid Arguments: {args['text']}")