From 34ac792b330af5f6e498bf8ec2bc33bdfc7f01ff Mon Sep 17 00:00:00 2001 From: Robin Bryce Date: Wed, 11 Dec 2024 12:23:26 +0000 Subject: [PATCH] always print the result on success --- datatrails_scitt_samples/scripts/register_signed_statement.py | 1 + 1 file changed, 1 insertion(+) diff --git a/datatrails_scitt_samples/scripts/register_signed_statement.py b/datatrails_scitt_samples/scripts/register_signed_statement.py index 8e0a59f..fd3cabe 100755 --- a/datatrails_scitt_samples/scripts/register_signed_statement.py +++ b/datatrails_scitt_samples/scripts/register_signed_statement.py @@ -135,6 +135,7 @@ def main(args=None): result["leaf"] = leaf.hex() if args.output_file == "": + print(json.dumps(result)) return if args.output_receipt_file != "":