aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/halloween/hacktoberstats.py
diff options
context:
space:
mode:
authorGravatar D0rs4n <[email protected]>2021-08-07 23:02:18 +0200
committerGravatar D0rs4n <[email protected]>2021-08-07 23:02:18 +0200
commit22abc00742a610443b2cffe3ae609056a98da713 (patch)
treecd5be6ae7d30c8c780f5728fc3280ea262b93b8c /bot/exts/halloween/hacktoberstats.py
parentUpdate Hacktoberstats' get_october_prs function to use aiohttps get params (diff)
Improve code consistency in Movie, Wikipedia and Hactoberstats Cogs
Diffstat (limited to 'bot/exts/halloween/hacktoberstats.py')
-rw-r--r--bot/exts/halloween/hacktoberstats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/halloween/hacktoberstats.py b/bot/exts/halloween/hacktoberstats.py
index b5d8591d..24106a5e 100644
--- a/bot/exts/halloween/hacktoberstats.py
+++ b/bot/exts/halloween/hacktoberstats.py
@@ -226,7 +226,7 @@ class HacktoberStats(commands.Cog):
log.debug(f"GitHub query parameters generated: {query_params}")
- jsonresp = await self._fetch_url(base_url, REQUEST_HEADERS, dict(q=query_params))
+ jsonresp = await self._fetch_url(base_url, REQUEST_HEADERS, {"q": query_params})
if "message" in jsonresp:
# One of the parameters is invalid, short circuit for now
api_message = jsonresp["errors"][0]["message"]