mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-03 11:04:51 +00:00
Fix updater
This commit is contained in:
parent
3f384ec8b4
commit
e0ed2e39e3
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ try:
|
||||||
# MongoDB information
|
# MongoDB information
|
||||||
DATABASE_URI = getConfig("DATABASE_URI")
|
DATABASE_URI = getConfig("DATABASE_URI")
|
||||||
DATABASE_NAME = getConfig("DATABASE_NAME")
|
DATABASE_NAME = getConfig("DATABASE_NAME")
|
||||||
LOG_CHANNEL = int(getConfig("LOG_CHANNEL"))
|
LOG_CHANNEL = int(environ.get("LOG_CHANNEL", 0))
|
||||||
USER_SESSION = getConfig("USER_SESSION")
|
USER_SESSION = getConfig("USER_SESSION")
|
||||||
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}")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue