mirror of https://github.com/coddrago/Heroku
Update main.py
parent
ed532e6de0
commit
2d2d95527d
|
@ -96,7 +96,7 @@ IS_HIKKAHOST = "HIKKAHOST" in os.environ
|
||||||
IS_ORACLE = "ORACLE_OS" in os.environ
|
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() or "TOTHOST" in os.environ
|
||||||
IS_AEZA = "aeza" in socket.gethostname()
|
IS_AEZA = "aeza" in socket.gethostname()
|
||||||
IS_WSL = False
|
IS_WSL = False
|
||||||
with contextlib.suppress(Exception):
|
with contextlib.suppress(Exception):
|
||||||
|
|
Loading…
Reference in New Issue