Update main.py

pull/29/head
Who? 2024-12-06 16:36:14 +07:00 committed by GitHub
parent 020520831e
commit 16dd3ba522
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ IS_HIKKAHOST = "HIKKAHOST" in os.environ
IS_ORACLE = "ORACLE_OS" in os.environ
IS_AWS = "AWS_OS" in os.environ
IS_SERV00 = "serv00" in socket.gethostname()
IS_TOTHOST = "tothost" in socket.gethostname() or "TOTHOST" in os.environ
IS_TOTHOST = "TOTHOST" in os.environ
IS_AEZA = "aeza" in socket.gethostname()
IS_WSL = False
with contextlib.suppress(Exception):