mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-19 05:40:01 +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()
|
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
|
Resolve Info.plist path from binary path
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ class GlobalEnviromentSettings:
|
|||||||
self._fix_file_permission()
|
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
|
Reads a property from the global settings file
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user