From 6061f83c3f6afa7d1571a6d723bee07460bb395d Mon Sep 17 00:00:00 2001 From: Harmon758 Date: Thu, 23 Jun 2016 11:10:07 -0500 Subject: [PATCH] Fix bug with edit_profile for user accounts --- discord/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/client.py b/discord/client.py index d738e7bf2..2580fa12c 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: