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}'")