From 09db0629582f58b13f851c9699aedd2483f9847e Mon Sep 17 00:00:00 2001 From: adbenitez Date: Thu, 1 Dec 2022 02:36:55 -0500 Subject: [PATCH] fix bug in Rpc.__getattr__() --- deltachat-rpc-client/src/deltachat_rpc_client/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltachat-rpc-client/src/deltachat_rpc_client/rpc.py b/deltachat-rpc-client/src/deltachat_rpc_client/rpc.py index a63e7cd46..22c87ca4a 100644 --- a/deltachat-rpc-client/src/deltachat_rpc_client/rpc.py +++ b/deltachat-rpc-client/src/deltachat_rpc_client/rpc.py @@ -53,7 +53,7 @@ class Rpc: request = { "jsonrpc": "2.0", "method": attr, - "params": args or kwargs, + "params": kwargs or args, "id": self.id, } data = (json.dumps(request) + "\n").encode()