From 74db314d3020d37d1cee784054eed7a22f197ced Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 27 Sep 2015 20:22:44 -0400 Subject: Fix an error with logging in the login method. --- discord/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/client.py') 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.""" -- cgit v1.2.3