diff options
author | Thais Siqueira <thais.siqueira@gmail.com> | 2017-03-15 11:20:00 -0300 |
---|---|---|
committer | Thais Siqueira <thais.siqueira@gmail.com> | 2017-03-15 11:20:00 -0300 |
commit | ea8ca5d0551e742a14ecabb5f23663c5e3e14c21 (patch) | |
tree | 1a1c9cb46196108e880b3384cc220ccc1962a616 /service/pixelated | |
parent | 69cb3dac9142540d48c644a6367afc0a3cdbdb44 (diff) |
[#924] Simplifies callback chain for recovery code call.
with @anikarni
Diffstat (limited to 'service/pixelated')
-rw-r--r-- | service/pixelated/resources/backup_account_resource.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/service/pixelated/resources/backup_account_resource.py b/service/pixelated/resources/backup_account_resource.py index 3d95879c..0b73bc35 100644 --- a/service/pixelated/resources/backup_account_resource.py +++ b/service/pixelated/resources/backup_account_resource.py @@ -60,6 +60,5 @@ class BackupAccountResource(BaseResource): request.finish() d = account_recovery.update_recovery_code("123") - d.addCallbacks(update_response) - d.addErrback(error_response) + d.addCallbacks(update_response, error_response) return NOT_DONE_YET |