aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index d738e7bf..2580fa12 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -1498,7 +1498,7 @@ class Client:
if 'new_password' in fields:
args['new_password'] = fields['new_password']
- yield from self.http.edit_profile(**args)
+ data = yield from self.http.edit_profile(**args)
if not_bot_account:
self.email = data['email']
if 'token' in data: