aboutsummaryrefslogtreecommitdiffstats
path: root/bot/converters.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/converters.py')
-rw-r--r--bot/converters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/converters.py b/bot/converters.py
index d44b675a7..d558fa3df 100644
--- a/bot/converters.py
+++ b/bot/converters.py
@@ -190,7 +190,7 @@ class InventoryURL(Converter):
async def convert(ctx: Context, url: str) -> str:
"""Convert url to Intersphinx inventory URL."""
await ctx.trigger_typing()
- if await _inventory_parser.fetch_inventory(ctx.bot.http_session, url) is None:
+ if await _inventory_parser.fetch_inventory(url) is None:
raise BadArgument(f"Failed to fetch inventory file after {_inventory_parser.FAILED_REQUEST_ATTEMPTS}.")
return url