Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[XKSession] Fix error on setting self.cookies["Authorization"] #14

Merged
merged 2 commits into from
Jun 14, 2024

Conversation

Pairman
Copy link
Contributor

@Pairman Pairman commented Jun 14, 2024

Fix AttributeError: 'LWPCookieJar' object has no attribute 'update' at self.cookies.update({'Authorization': cookies['token']}).

This error only occurs for log-ins with CAPTCHA prompted, i.e. fresh cookies non-persisted yet.

Pairman added 2 commits June 14, 2024 09:30
Fix ``AttributeError: 'LWPCookieJar' object has no attribute 'update'`` at ``self.cookies.update({'Authorization': cookies['token']})``.

This error only occurs for log-ins with CAPTCHA prompted.
@frankli0324 frankli0324 merged commit 4a33375 into xdlinux:master Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants