mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-11 16:27:19 +10:00
Adjust type hinting
This commit is contained in:
@@ -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
|
||||
"""
|
||||
|
||||
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user