Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix txrecaptcha.submit() to always return Deferreds.
All returned Deferreds callback with RecaptchaResponse objects. This way, we do not need additional code to check if the result was a Deferred (because, in that case, we would need to add a callback function to extract the RecaptchaResponse object from it and check it), or if it directly returned a RecaptchaResponse. This function now *always* returns Deferred.
- Loading branch information