Skip to content

Commit

Permalink
fix invalid literal for int() [FBAN_CHAT_ID]
Browse files Browse the repository at this point in the history
  • Loading branch information
rking32 authored Jan 14, 2022
1 parent 06140a9 commit 37e0dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 37e0dcb

Please sign in to comment.