From dce80de9d56b47179b10709cb305ca579f1d73cd Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 30 Nov 2022 11:09:57 -0500 Subject: [PATCH] Correct syntax error in sample script --- misc/installcert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/installcert.py b/misc/installcert.py index c42deb06..9654bf54 100644 --- a/misc/installcert.py +++ b/misc/installcert.py @@ -12,5 +12,5 @@ c = cmd.Command(args.xcc, os.environ['XCCUSER'], os.environ['XCCPASS'], verifycallback=lambda x: True) wc = c.oem.wc cert = open(args.cert, 'rb').read() -res = wc.grab_json_response_with_status('/api/function', {'Sec_ImportCert': '0,1,0,0,,{0}'.format(cert) +res = wc.grab_json_response_with_status('/api/function', {'Sec_ImportCert': '0,1,0,0,,{0}'.format(cert)}) print(repr(res))