mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 09:44:50 +00:00
Update vars.py
This commit is contained in:
parent
1a3350722f
commit
7c3706cda7
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ try:
|
||||||
API_HASH = getConfig("API_HASH")
|
API_HASH = getConfig("API_HASH")
|
||||||
# MongoDB information
|
# MongoDB information
|
||||||
DATABASE_URI = getConfig("DATABASE_URI")
|
DATABASE_URI = getConfig("DATABASE_URI")
|
||||||
LOG_CHANNEL = environ.get("LOG_CHANNEL")
|
LOG_CHANNEL = int(environ.get("LOG_CHANNEL"))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
LOGGER.error(f"One or more env variables missing! Exiting now.\n{e}")
|
LOGGER.error(f"One or more env variables missing! Exiting now.\n{e}")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue