diff options
author | 2020-12-16 18:46:08 +0100 | |
---|---|---|
committer | 2020-12-16 18:46:08 +0100 | |
commit | 20288cc6d407a4f36047e78b9679be0163a9cc52 (patch) | |
tree | d5265ce98268f2af87e75a687c8ab7c6b885c6e3 /bot/constants.py | |
parent | Add codeowner entries for ks129 (diff) | |
parent | Merge branch 'master' into sebastiaan/advent-of-code/refactor-background-tasks (diff) |
Merge pull request #535 from python-discord/sebastiaan/advent-of-code/refactor-background-tasks
Refactor Advent of Code background tasks to account for deseasonification
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 a58801f7..5e97fa2d 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -81,7 +81,7 @@ class AdventOfCode: fallback_session = environ.get("AOC_FALLBACK_SESSION", "") # Other Advent of Code constants - ignored_days = [day for day in environ.get("AOC_IGNORED_DAYS", "").split(",")] + ignored_days = environ.get("AOC_IGNORED_DAYS", "").split(",") leaderboard_displayed_members = 10 leaderboard_cache_expiry_seconds = 1800 year = int(environ.get("AOC_YEAR", datetime.utcnow().year)) |