aboutsummaryrefslogtreecommitdiff
path: root/discord/http.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-06-18 01:43:57 -0400
committerRapptz <[email protected]>2016-06-18 01:43:57 -0400
commit4d375fc856af6720dcf46250bc459c5f72c08d4d (patch)
treeee7e97ec94fdbf4aee2c851c2de553309e68804b /discord/http.py
parentAdd Member.top_role property to get the highest role. (diff)
downloaddiscord.py-4d375fc856af6720dcf46250bc459c5f72c08d4d.tar.xz
discord.py-4d375fc856af6720dcf46250bc459c5f72c08d4d.zip
Fix HTTPClient.recreate to actually work.
Forgot a keyword argument.
Diffstat (limited to 'discord/http.py')
-rw-r--r--discord/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/http.py b/discord/http.py
index 0ff3dbfc..ba531a91 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