-
-
Notifications
You must be signed in to change notification settings - Fork 860
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close the file descriptor for add_attachment (#957)
* Close the file descriptor for add_attachment If the attachment is string, the add_attachment function creates a file descriptor then forget to close it. The patch closes the file descriptor after the post action. * Pass a correct type for the variable * Convert type earliy * Refine code format
- Loading branch information
Showing
1 changed file
with
30 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters