From e374391631d1c2698bc777f5dc3b2076ed0d0eca Mon Sep 17 00:00:00 2001 From: Hedy Li Date: Wed, 21 Oct 2020 11:11:48 +0000 Subject: fix keyerror --- bot/exts/halloween/hacktoberstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot') diff --git a/bot/exts/halloween/hacktoberstats.py b/bot/exts/halloween/hacktoberstats.py index 94bfe138..c872e241 100644 --- a/bot/exts/halloween/hacktoberstats.py +++ b/bot/exts/halloween/hacktoberstats.py @@ -307,7 +307,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 -- cgit v1.2.3