aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar vivax3794 <[email protected]>2019-10-12 05:09:58 +0200
committerGravatar vivax3794 <[email protected]>2019-10-12 05:09:58 +0200
commit0e7501251175e49fd5300d37b2178a0a914d89ba (patch)
tree4374a3aa5dc4f3707c1b6cdbee6a597475ca7a07
parenthad the wrong prefix in docstring xD (diff)
Fixed forgetting to divide by 100.
-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}")