From 4d375fc856af6720dcf46250bc459c5f72c08d4d Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 18 Jun 2016 01:43:57 -0400 Subject: [PATCH] Fix HTTPClient.recreate to actually work. Forgot a keyword argument. --- discord/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/http.py b/discord/http.py index 0ff3dbfc3..ba531a916 100644 --- a/discord/http.py +++ b/discord/http.py @@ -161,7 +161,7 @@ class HTTPClient: yield from self.session.close() def recreate(self): - self.session = aiohttp.ClientSession(self.connector, loop=self.loop) + self.session = aiohttp.ClientSession(connector=self.connector, loop=self.loop) def _token(self, token, *, bot=True): self.token = token