From 37e0dcb2d0e0655b140374db471b732bce260f0c Mon Sep 17 00:00:00 2001 From: None <52490534+rking32@users.noreply.github.com> Date: Sat, 15 Jan 2022 00:21:50 +0530 Subject: [PATCH] fix invalid literal for int() [FBAN_CHAT_ID] --- userge/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userge/config.py b/userge/config.py index c31890a37..363b0495b 100644 --- a/userge/config.py +++ b/userge/config.py @@ -83,7 +83,7 @@ class Config: ALLOWED_COMMANDS: Set[str] = set() IGNORE_VERIFIED_CHATS = True ANTISPAM_SENTRY = False - FBAN_CHAT_ID = int(os.environ.get("FBAN_CHAT_ID", 0)) + FBAN_CHAT_ID = int(os.environ.get("FBAN_CHAT_ID") or 0) RUN_DYNO_SAVER = False HEROKU_APP = heroku3.from_key(HEROKU_API_KEY).apps()[HEROKU_APP_NAME] \ if HEROKU_ENV and HEROKU_API_KEY and HEROKU_APP_NAME else None