From 6bb665b2c4ff28040d2f9a449f6ccbcb7be300a1 Mon Sep 17 00:00:00 2001 From: Dramelac Date: Mon, 1 Jul 2024 19:03:12 +0200 Subject: [PATCH] Fix dep check race error --- exegol/model/ContainerConfig.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exegol/model/ContainerConfig.py b/exegol/model/ContainerConfig.py index 764b0c73..303a1150 100644 --- a/exegol/model/ContainerConfig.py +++ b/exegol/model/ContainerConfig.py @@ -26,7 +26,7 @@ from exegol.utils.ExeLog import logger, ExeLog from exegol.utils.GuiUtils import GuiUtils -if EnvInfo.is_windows_shell or EnvInfo.isMacHost(): +if EnvInfo.is_windows_shell or EnvInfo.is_mac_shell: from tzlocal import get_localzone_name @@ -429,7 +429,7 @@ def enableSharedTimezone(self): """Procedure to enable shared timezone feature""" if not self.__share_timezone: logger.verbose("Config: Enabling host timezones") - if EnvInfo.is_windows_shell or EnvInfo.isMacHost(): + if EnvInfo.is_windows_shell or EnvInfo.is_mac_shell: current_tz = get_localzone_name() if current_tz: logger.debug(f"Sharing timezone via TZ env var: '{current_tz}'")