mirror of https://github.com/coddrago/Heroku
Update main.py
parent
3728cb72de
commit
49eb0b151d
|
@ -97,6 +97,7 @@ IS_ORACLE = "ORACLE_OS" in os.environ
|
||||||
IS_AWS = "AWS_OS" in os.environ
|
IS_AWS = "AWS_OS" in os.environ
|
||||||
IS_SERV00 = "serv00" in socket.gethostname()
|
IS_SERV00 = "serv00" in socket.gethostname()
|
||||||
IS_TOTHOST = "tothost" in socket.gethostname()
|
IS_TOTHOST = "tothost" in socket.gethostname()
|
||||||
|
IS_AEZA = "aeza" in socket.gethostname()
|
||||||
IS_WSL = False
|
IS_WSL = False
|
||||||
with contextlib.suppress(Exception):
|
with contextlib.suppress(Exception):
|
||||||
from platform import uname
|
from platform import uname
|
||||||
|
|
Loading…
Reference in New Issue