aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Hedy Li <[email protected]>2020-10-16 09:59:37 +0000
committerGravatar Hedy Li <[email protected]>2020-10-16 09:59:37 +0000
commit747893309206ea397585eea27413a4f6b6bd0ff5 (patch)
treeaea1f17842ff3b7aee8533aa97f0d1e0cdd0c039
parentminor design changes (diff)
fix in_review and accepted PRs swapped
-rw-r--r--bot/exts/halloween/hacktoberstats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/halloween/hacktoberstats.py b/bot/exts/halloween/hacktoberstats.py
index 218505fb..dbe83ad1 100644
--- a/bot/exts/halloween/hacktoberstats.py
+++ b/bot/exts/halloween/hacktoberstats.py
@@ -363,7 +363,7 @@ class HacktoberStats(commands.Cog):
in_review = []
accepted = []
for pr in prs:
- if (pr['created_at'] + timedelta(REVIEW_DAYS)) < now:
+ if (pr['created_at'] + timedelta(REVIEW_DAYS)) > now:
in_review.append(pr)
else:
accepted.append(pr)