-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
Check if Message.get_params
return 3-tuple
instead of str
on parse_options_header
#79
Conversation
Hey @Kludex, would you mind reviewing these changes? It's a pretty simple two-line fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll make a release tonight.
Sounds good! Thanks for your help! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks @lorenpike! I didn't notice that. 🤓
Message.get_params
return 3-tuple
instead of str
on parse_options_header
Fixing the case where
email.message.Message.get_params
returns a 3-tuple
instead of astr
For more context on the bug, here's the definition for
Message.get_params