diff options
author | 2020-10-21 11:11:48 +0000 | |
---|---|---|
committer | 2020-10-21 11:11:48 +0000 | |
commit | e374391631d1c2698bc777f5dc3b2076ed0d0eca (patch) | |
tree | 83c6b89645693473f1a5a8d72ddee6bc0201e0e0 /bot/exts/halloween/hacktoberstats.py | |
parent | fix some bugs and allow topics caching (diff) |
fix keyerror
Diffstat (limited to 'bot/exts/halloween/hacktoberstats.py')
-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 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 |