Added detect JamHost

pull/80/head
Who? 2025-01-28 02:47:45 +10:00 committed by GitHub
parent 44f41dbe2b
commit 536d971fa9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ IS_TOTHOST = "TOTHOST" in os.environ
IS_AEZA = "aeza" in socket.gethostname()
IS_DJHOST = "IS_DJHOST" in os.environ
IS_USERLAND = "userland" in os.environ.get("USER", "")
IS_JAMHOST = "JAMHOST" in os.environ
IS_WSL = False
with contextlib.suppress(Exception):
from platform import uname