mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 14:10:51 +10:00
GUI: Fix delay logic
This commit is contained in:
@@ -39,7 +39,7 @@ class EntryPoint:
|
|||||||
|
|
||||||
def _generate_base_data(self) -> None:
|
def _generate_base_data(self) -> None:
|
||||||
delay = global_settings.GlobalEnviromentSettings().read_property("APP_DELAY_TIME")
|
delay = global_settings.GlobalEnviromentSettings().read_property("APP_DELAY_TIME")
|
||||||
if not isinstance(delay, int or float):
|
if not (isinstance(delay, int) | isinstance(delay, float)):
|
||||||
delay = 1
|
delay = 1
|
||||||
time.sleep(delay)
|
time.sleep(delay)
|
||||||
self.app = wx.App()
|
self.app = wx.App()
|
||||||
|
|||||||
Reference in New Issue
Block a user