aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--discord/__init__.py4
-rw-r--r--discord/client.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/discord/__init__.py b/discord/__init__.py
index fdb17c89..9f911b64 100644
--- a/discord/__init__.py
+++ b/discord/__init__.py
@@ -15,8 +15,8 @@ __title__ = 'discord'
__author__ = 'Rapptz'
__license__ = 'MIT'
__copyright__ = 'Copyright 2015 Rapptz'
-__version__ = '0.6.0'
-__build__ = 0x006000
+__version__ = '0.6.1'
+__build__ = 0x006010
from .client import Client
from .user import User
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."""