aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-09-27 20:22:44 -0400
committerRapptz <[email protected]>2015-09-27 20:22:44 -0400
commit74db314d3020d37d1cee784054eed7a22f197ced (patch)
tree575c005f43184f5c12ffb8b1a0a52100b96a1b28 /discord/client.py
parentBump to version v0.6.0 (diff)
downloaddiscord.py-74db314d3020d37d1cee784054eed7a22f197ced.tar.xz
discord.py-74db314d3020d37d1cee784054eed7a22f197ced.zip
Fix an error with logging in the login method.v0.6.1
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 8fbb200a..a4a0fb2e 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -548,7 +548,7 @@ class Client(object):
self._create_websocket(gateway.json().get('url'), reconnect=False)
self._is_logged_in = True
else:
- log.error(request_logging_format.format(name='login', response=response))
+ log.error(request_logging_format.format(name='login', response=r))
def logout(self):
"""Logs out of Discord and closes all connections."""