aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-12-02 00:22:55 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2020-12-02 00:22:55 +0100
commitd4c8c0f7184e5d494136cc2b7fc670e8ab7a8f93 (patch)
treec2dff8de709ea1b6a2df5273a2518f37d28476d7 /bot/constants.py
parentClarify time_left_until_est_midnight function (diff)
Update docstrings and fix grammar in comments
I've updated some docstrings to include more information about the inner workings of some of the functions. In addition, I've also slightly reformulated some block comments to improve their grammar. Kaizen change: There was a redundant list comprehension in the Advent of Code section of the constants. I've removed it.
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/constants.py b/bot/constants.py
index e313e086..c696b202 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -63,7 +63,7 @@ class AdventOfCode:
staff_leaderboard_id = environ.get("AOC_STAFF_LEADERBOARD_ID", "")
# 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))