diff options
| author | 2021-08-30 21:39:20 +0100 | |
|---|---|---|
| committer | 2021-08-30 21:39:33 +0100 | |
| commit | ffed769fbb1f450ac966564cc0ba75c2406e18ae (patch) | |
| tree | c731a0052afbd17be60668a15b6bacbd7580cb14 | |
| parent | Remove code that is no longer hit (diff) | |
Update comment to reference the new TalentPool cache name
| -rw-r--r-- | bot/exts/recruitment/talentpool/_review.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/recruitment/talentpool/_review.py b/bot/exts/recruitment/talentpool/_review.py index dfdcdcffe..1cc9c900c 100644 --- a/bot/exts/recruitment/talentpool/_review.py +++ b/bot/exts/recruitment/talentpool/_review.py @@ -103,10 +103,10 @@ class Reviewer: """Format a generic review of a user and return it with the reviewed emoji.""" log.trace(f"Formatting the review of {user_id}") - # Since `watched_users` is a defaultdict, we should take care + # Since `cache` is a defaultdict, we should take care # not to accidentally insert the IDs of users that have no - # active nominated by using the `watched_users.get(user_id)` - # instead of `watched_users[user_id]`. + # active nominated by using the `cache.get(user_id)` + # instead of `cache[user_id]`. nomination = self._pool.cache.get(user_id) if not nomination: log.trace(f"There doesn't appear to be an active nomination for {user_id}") |