From 0b70f42daa1efff2e2e9edeae1811da6cbaec6ce Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 21 Sep 2023 18:40:21 +0200 Subject: [PATCH] fix json doble quotes --- ereuse_devicehub/modules/oidc/commands/add_contract_oidc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ereuse_devicehub/modules/oidc/commands/add_contract_oidc.py b/ereuse_devicehub/modules/oidc/commands/add_contract_oidc.py index 94ad8e63..ea56b2a6 100644 --- a/ereuse_devicehub/modules/oidc/commands/add_contract_oidc.py +++ b/ereuse_devicehub/modules/oidc/commands/add_contract_oidc.py @@ -1,4 +1,4 @@ - +import json import click import logging import time @@ -68,7 +68,7 @@ class AddContractOidc: "client_id": self.member.client_id, "client_secret": self.member.client_secret } - print(result) + print(json.dumps(result)) return result result = self.save() @@ -76,7 +76,7 @@ class AddContractOidc: "client_id": result[0], "client_secret": result[1] } - print(result) + print(json.dumps(result)) return result