Skip to content

Commit

Permalink
Fix dep check race error
Browse files Browse the repository at this point in the history
  • Loading branch information
Dramelac committed Jul 1, 2024
1 parent 8d737b6 commit 6bb665b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exegol/model/ContainerConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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}'")
Expand Down

0 comments on commit 6bb665b

Please sign in to comment.