From 462e268d0d25a53ed0c0ed0961ad16a442a136b3 Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Tue, 21 Sep 2021 20:20:38 -0600 Subject: [PATCH] Fix typo --- Resources/Utilities.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/Utilities.py b/Resources/Utilities.py index 0f8d54477..383b6021b 100644 --- a/Resources/Utilities.py +++ b/Resources/Utilities.py @@ -131,7 +131,7 @@ def friendly_hex(integer: int): def amfi_status(): amfi_1 = "amfi_get_out_of_my_way=0x1" amfi_2 = "amfi_get_out_of_my_way=1" - if (get_nvram("OCLP-Settings", "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102", decode=False) and "-allow_amfi" in get_nvram("OCLP-Settings", "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102", decode=False)) or ( + if (get_nvram("OCLP-Settings", "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102", decode=False) and "-allow_amfi" in get_nvram("OCLP-Settings", "4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102", decode=True)) or ( get_nvram("boot-args", decode=False) and (amfi_1 in get_nvram("boot-args", decode=False) or amfi_2 in get_nvram("boot-args", decode=False)) ): return False