Browse Source

Client.email is now set when using the cache

pull/74/head
Rapptz 9 years ago
parent
commit
5d2f107070
  1. 1
      discord/client.py

1
discord/client.py

@ -146,6 +146,7 @@ class Client:
try:
log.info('attempting to login via cache')
cache_file = self._get_cache_filename(email)
self.email = email
with open(cache_file, 'r') as f:
log.info('login cache file found')
self.token = f.read()

Loading…
Cancel
Save