Update main.py

pull/50/head
Who? 2024-12-26 11:04:02 +07:00 committed by GitHub
parent 65ed2c9ef6
commit 6a5c31b7e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ IS_AWS = "AWS_OS" in os.environ
IS_SERV00 = "serv00" in socket.gethostname()
IS_TOTHOST = "TOTHOST" in os.environ
IS_AEZA = "aeza" in socket.gethostname()
IS_DJHOST = "IS_DJHOST" in os.environ
IS_WSL = False
with contextlib.suppress(Exception):
from platform import uname