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