mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
Fix Constants type suggestion
This commit is contained in:
@@ -27,9 +27,9 @@ from data import (
|
||||
|
||||
|
||||
class detect_root_patch:
|
||||
def __init__(self, model: str, versions: constants.Constants()):
|
||||
def __init__(self, model: str, global_constants: constants.Constants):
|
||||
self.model = model
|
||||
self.constants: constants.Constants() = versions
|
||||
self.constants: constants.Constants = global_constants
|
||||
self.computer = self.constants.computer
|
||||
|
||||
# GPU Patch Detection
|
||||
|
||||
Reference in New Issue
Block a user