From ebbdbb4befc8f37366db43ab299dcce84e4edbc2 Mon Sep 17 00:00:00 2001 From: Marc Chen Date: Tue, 29 Oct 2024 17:53:17 +0800 Subject: [PATCH] Fix MfciPolicy.py syntax error --- MfciPkg/Application/MfciPolicy/MfciPolicy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MfciPkg/Application/MfciPolicy/MfciPolicy.py b/MfciPkg/Application/MfciPolicy/MfciPolicy.py index 9a00266985..a271bf4a8e 100644 --- a/MfciPkg/Application/MfciPolicy/MfciPolicy.py +++ b/MfciPkg/Application/MfciPolicy/MfciPolicy.py @@ -84,7 +84,7 @@ def get_system_info(): if Variable == "NextMfciPolicyNonce" or Variable == "CurrentMfciPolicyNonce": print(f" {Variable} = {hex(int.from_bytes(data, byteorder='little', signed=False))}") else: - print(f" {Variable} = \"{data.decode("utf16")[0:-1]}\"") + print(f" {Variable} = '{data.decode('utf16')[0:-1]}'") return