diff options
author | 2019-10-19 10:43:18 -0700 | |
---|---|---|
committer | 2019-10-19 10:43:18 -0700 | |
commit | 67bcaef873a82f6ef178e354778d850349226f0d (patch) | |
tree | 3e04dcfead7dbb2a84ab9ff2469208f7249f1db0 | |
parent | Merge branch 'monster_bio' of https://github.com/quizzicaltrains/seasonalbot ... (diff) | |
parent | Hacktober issue finder fix - divide count by 100 (#301) (diff) |
Merge branch 'master' into monster_bio
-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}") |