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

Attachments added to the end of the message (backward compatible version) #8

Merged
merged 1 commit into from
Jan 7, 2021

Conversation

s-n-g
Copy link
Contributor

@s-n-g s-n-g commented Sep 3, 2019

Since you haven't yet had a look at the other PR, this one would be much better, since it provides backward compatibility

Changed attach to

def attach(self, filename, data=None, mimetype=None):

If data is not provided, filename should be full path to a file, which will be placed at the end of the file. If data is provided, the behavior remains as it was up until now

Still relevant to #4

@s-n-g s-n-g changed the title Attachments added to the end of the message (backwards compatible version) Attachments added to the end of the message (backward compatible version) Sep 3, 2019
@skulltech skulltech self-requested a review July 8, 2020 09:38
@skulltech skulltech self-assigned this Jul 8, 2020
@skulltech
Copy link
Owner

Thank you so much for the contribution @s-n-g . I'm getting back after about one and a half years but better late than never I guess!!

@skulltech skulltech closed this Jan 7, 2021
@skulltech skulltech reopened this Jan 7, 2021
@skulltech skulltech merged commit 56fac5b into skulltech:master Jan 7, 2021
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