build.py: Use pythonic class name

This commit is contained in:
Mykola Grymalyuk
2022-11-12 17:14:39 -07:00
parent 21c40277bb
commit 55061bc86d
5 changed files with 6 additions and 12 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ class OpenCoreLegacyPatcher:
menu = tui_helpers.TUIMenu(title, "Please select an option: ", in_between=in_between, auto_number=True, top_level=True)
options = (
[["Build OpenCore", build.BuildOpenCore(self.constants.custom_model or self.constants.computer.real_model, self.constants).build_opencore]]
[["Build OpenCore", build.build_opencore(self.constants.custom_model or self.constants.computer.real_model, self.constants).build_opencore]]
if ((self.constants.custom_model or self.computer.real_model) in model_array.SupportedSMBIOS) or self.constants.allow_oc_everywhere is True
else []
) + [