mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 02:39:01 +00:00
Fix an error with logging in the login method.
This commit is contained in:
parent
a04a526566
commit
74db314d30
discord
@ -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
|
||||
|
@ -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."""
|
||||
|
Loading…
x
Reference in New Issue
Block a user