Fix Constants type suggestion

This commit is contained in:
Mykola Grymalyuk
2023-02-09 17:59:53 -07:00
parent 66a5f5a9ad
commit e83e260db7
12 changed files with 39 additions and 29 deletions
+2 -2
View File
@@ -11,8 +11,8 @@ REPO_LATEST_RELEASE_URL: str = "https://api.github.com/repos/dortania/OpenCore-L
class check_binary_updates:
def __init__(self, global_constants: constants.Constants()):
self.constants: constants.Constants() = global_constants
def __init__(self, global_constants: constants.Constants):
self.constants: constants.Constants = global_constants
self.binary_version = self.constants.patcher_version
self.binary_version_array = [int(x) for x in self.binary_version.split(".")]