Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinebou12 committed Jun 19, 2024
1 parent 45c3e6b commit add7477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marketwatch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def handler_login(self, response, login_data):
print("Failed to get token and params")
raise MarketWatchException("Failed to get token and params")

handler = self.session.post(f"{SSO_URL}/postauth/handler", data=login_data.update({"token": token, "params": params}), follow_redirects=True, allow_redirects=True)
handler = self.session.post(f"{SSO_URL}/postauth/handler", data=login_data.update({"token": token, "params": params}), follow_redirects=True)
self.cookies.update(handler.cookies)
return handler

Expand Down

0 comments on commit add7477

Please sign in to comment.