From 12a0832d9259b20eb622bcc4a0b5e2c2d766628a Mon Sep 17 00:00:00 2001 From: Hedy Li Date: Sat, 31 Oct 2020 15:38:28 +0800 Subject: Fix capitalization of 'PR' in hacktoberstats.py --- bot/exts/halloween/hacktoberstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/exts/halloween/hacktoberstats.py b/bot/exts/halloween/hacktoberstats.py index bb5a6325..a5ec4dc4 100644 --- a/bot/exts/halloween/hacktoberstats.py +++ b/bot/exts/halloween/hacktoberstats.py @@ -336,7 +336,7 @@ class HacktoberStats(commands.Cog): if hackto_topics[shortname]: outlist.append(itemdict) continue - # Fetch topics for the pr repo + # Fetch topics for the PR's repo topics_query_url = f"https://api.github.com/repos/{shortname}/topics" logging.debug(f"Fetching repo topics for {shortname} with url: {topics_query_url}") jsonresp2 = await HacktoberStats._fetch_url(topics_query_url, GITHUB_TOPICS_ACCEPT_HEADER) -- cgit v1.2.3