Update main.py

pull/10/head
Who? 2024-11-13 16:14:13 +07:00 committed by GitHub
parent 3728cb72de
commit 49eb0b151d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ 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()
IS_AEZA = "aeza" in socket.gethostname()
IS_WSL = False
with contextlib.suppress(Exception):
from platform import uname