From d473d67b0772700942f5bb0db3522af0a1005453 Mon Sep 17 00:00:00 2001 From: Steve Mactaggart Date: Fri, 12 Jun 2020 18:29:43 +1000 Subject: [PATCH] Fixed FLAKE issues. --- aws_google_auth/google.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aws_google_auth/google.py b/aws_google_auth/google.py index c2f2a04..c7f641c 100644 --- a/aws_google_auth/google.py +++ b/aws_google_auth/google.py @@ -392,7 +392,6 @@ def handle_captcha(self, sess, payload): except NameError: captcha_input = input("Captcha (case insensitive): ") or None - # Update the payload payload['identifier-captcha-input'] = captcha_input payload['identifiertoken'] = captcha_logintoken @@ -420,7 +419,6 @@ def handle_captcha(self, sess, payload): 'name': 'gxf' }).get('value') - newPayload['challengeId'] = challengeId newPayload['challengeType'] = challengeType newPayload['TL'] = tl @@ -436,7 +434,7 @@ def handle_captcha(self, sess, payload): newPayload['oauth'] = payload['oauth'] newPayload['Email'] = payload['Email'] newPayload['Passwd'] = payload['Passwd'] - + return self.post(response.url, data=newPayload) def handle_sk(self, sess):