Skip to content

Commit

Permalink
Fixed FLAKE issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevemac007 committed Jun 12, 2020
1 parent b936eca commit d473d67
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions aws_google_auth/google.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -420,7 +419,6 @@ def handle_captcha(self, sess, payload):
'name': 'gxf'
}).get('value')


newPayload['challengeId'] = challengeId
newPayload['challengeType'] = challengeType
newPayload['TL'] = tl
Expand All @@ -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):
Expand Down

0 comments on commit d473d67

Please sign in to comment.