aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar quizzicaltrains <[email protected]>2019-10-19 10:43:18 -0700
committerGravatar GitHub <[email protected]>2019-10-19 10:43:18 -0700
commit67bcaef873a82f6ef178e354778d850349226f0d (patch)
tree3e04dcfead7dbb2a84ab9ff2469208f7249f1db0
parentMerge branch 'monster_bio' of https://github.com/quizzicaltrains/seasonalbot ... (diff)
parentHacktober issue finder fix - divide count by 100 (#301) (diff)
Merge branch 'master' into monster_bio
-rw-r--r--bot/seasons/halloween/hacktober-issue-finder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/halloween/hacktober-issue-finder.py b/bot/seasons/halloween/hacktober-issue-finder.py
index 2f1d6ac7..10732374 100644
--- a/bot/seasons/halloween/hacktober-issue-finder.py
+++ b/bot/seasons/halloween/hacktober-issue-finder.py
@@ -58,7 +58,7 @@ class HacktoberIssues(commands.Cog):
else:
url = URL
if self.cache_normal is not None:
- page = random.randint(1, min(1000, self.cache_normal["total_count"]))
+ page = random.randint(1, min(1000, self.cache_normal["total_count"]) // 100)
url += f"&page={page}"
log.debug(f"making api request to url: {url}")