aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar scragly <[email protected]>2019-10-20 00:45:55 +1000
committerGravatar GitHub <[email protected]>2019-10-20 00:45:55 +1000
commit2f8b64070aa9abc9681b86190f2a17792439a24c (patch)
tree5a5b5a454e54a046246e6c79981f2adaab0ecde2
parentMerge pull request #291 from RohanRadia/master (diff)
parentMerge remote-tracking branch 'origin/hacktober-issue-finder' into hacktober-i... (diff)
Hacktober issue finder fix - divide count by 100 (#301)
Hacktober issue finder fix - divide count 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}")