Skip to content

Commit

Permalink
Fix bad crumb assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
dpguthrie committed Dec 6, 2023
1 parent 1a8269b commit c9335ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yahooquery/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ def __init__(self, **kwargs):
self.password = kwargs.get("password", os.getenv("YF_PASSWORD", None))
if self.username and self.password:
self.login()
self._crumb = get_crumb(self.session)
self.crumb = get_crumb(self.session)
else:
host = self._country_params["corsDomain"]
cookies, self.crumb = setup_session(host)
Expand Down

0 comments on commit c9335ac

Please sign in to comment.