diff --git a/opencore_legacy_patcher/support/commit_info.py b/opencore_legacy_patcher/support/commit_info.py index 0f7b21892..67cd31fa5 100644 --- a/opencore_legacy_patcher/support/commit_info.py +++ b/opencore_legacy_patcher/support/commit_info.py @@ -19,7 +19,7 @@ class ParseCommitInfo: self.plist_path = self._convert_binary_path_to_plist_path() - def _convert_binary_path_to_plist_path(self) -> str or None: + def _convert_binary_path_to_plist_path(self) -> str: """ Resolve Info.plist path from binary path """ diff --git a/opencore_legacy_patcher/support/global_settings.py b/opencore_legacy_patcher/support/global_settings.py index d69c2c488..a384891c7 100644 --- a/opencore_legacy_patcher/support/global_settings.py +++ b/opencore_legacy_patcher/support/global_settings.py @@ -30,7 +30,7 @@ class GlobalEnviromentSettings: self._fix_file_permission() - def read_property(self, property_name: str) -> str or None: + def read_property(self, property_name: str) -> str: """ Reads a property from the global settings file """