diff options
| author | 2019-10-12 05:09:58 +0200 | |
|---|---|---|
| committer | 2019-10-12 05:09:58 +0200 | |
| commit | 0e7501251175e49fd5300d37b2178a0a914d89ba (patch) | |
| tree | 4374a3aa5dc4f3707c1b6cdbee6a597475ca7a07 | |
| parent | had the wrong prefix in docstring xD (diff) | |
Fixed forgetting to divide by 100.
| -rw-r--r-- | bot/seasons/halloween/hacktober-issue-finder.py | 2 |
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}") |