diff options
author | 2020-08-29 16:58:11 -0700 | |
---|---|---|
committer | 2020-08-29 16:58:11 -0700 | |
commit | 2f1b550f1974fe5fb56e56042c3ebf51375dcf50 (patch) | |
tree | 817dbd467233a8bdacfe6f36837434b1a8e4b730 /bot/constants.py | |
parent | Reverted the SeasonalBot commands channel. (diff) |
Removed None from environ.get() in Wolfram NamedTuple to keep consistency throughout constants.py
Diffstat (limited to 'bot/constants.py')
-rw-r--r-- | bot/constants.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py index a436f17d..295bb90b 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -192,7 +192,7 @@ class Tokens(NamedTuple): class Wolfram(NamedTuple): user_limit_day = int(environ.get("WOLFRAM_USER_LIMIT_DAY", 10)) guild_limit_day = int(environ.get("WOLFRAM_GUILD_LIMIT_DAY", 67)) - key = environ.get("WOLFRAM_API_KEY", None) + key = environ.get("WOLFRAM_API_KEY") # Default role combinations |