diff options
author | 2020-10-22 07:09:46 +0000 | |
---|---|---|
committer | 2020-10-22 07:09:46 +0000 | |
commit | 2cbc18408677d92d53f484fa71560e96555557cf (patch) | |
tree | c6213a363f1fdc47b5a789f83f40e76945085564 /bot/exts | |
parent | improve message when user not found (diff) | |
parent | PR #508 Hackstats: fix KeyError on invalid PRs (diff) |
Merge branch 'master' of https://github.com/python-discord/seasonalbot into hackstats
Diffstat (limited to 'bot/exts')
-rw-r--r-- | bot/exts/halloween/hacktoberstats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/halloween/hacktoberstats.py b/bot/exts/halloween/hacktoberstats.py index e8ed1d1b..9ae9c227 100644 --- a/bot/exts/halloween/hacktoberstats.py +++ b/bot/exts/halloween/hacktoberstats.py @@ -314,7 +314,7 @@ class HacktoberStats(commands.Cog): # if the PR has 'invalid' or 'spam' labels, the PR must be # either merged or approved for it to be included if HacktoberStats._has_label(item, ["invalid", "spam"]): - if not await HacktoberStats._is_accepted(item): + if not await HacktoberStats._is_accepted(itemdict): continue # PRs before oct 3 no need to check for topics |