From f07d7475257f858924fa64498c38cec786a0919e Mon Sep 17 00:00:00 2001 From: TheElementalOfDestruction Date: Thu, 26 May 2022 01:29:39 -0700 Subject: [PATCH 1/2] Fix attachment docstring --- extract_msg/attachment.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extract_msg/attachment.py b/extract_msg/attachment.py index fc1b7ffc..998953cb 100644 --- a/extract_msg/attachment.py +++ b/extract_msg/attachment.py @@ -111,6 +111,10 @@ def save(self, **kwargs): After the name to use has been determined, it will then be shortened to make sure that it is not more than the value of :param maxNameLength:. + To change the directory that the attachment is saved to, set the value + of :param customPath: when calling this function. The default save + directory is the working directory. + If you want to save the contents into a ZipFile or similar object, either pass a path to where you want to create one or pass an instance to :param zip:. If :param zip: is an instance, :param customPath: will From 175cda803057915aa1bef728264c81722bc11b2a Mon Sep 17 00:00:00 2001 From: TheElementalOfDestruction Date: Thu, 26 May 2022 01:33:35 -0700 Subject: [PATCH 2/2] v0.30.13 --- CHANGELOG.md | 3 +++ README.rst | 4 ++-- extract_msg/__init__.py | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fdfe5b7e..72745b43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +**v0.30.13** +* [[TeamMsgExtractor #257](https://github.com/TeamMsgExtractor/msg-extractor/issues/257)] Fixed missing documentation for `customPath` keyword argument to `Attachment.save`. + **v0.30.12** * [[TeamMsgExtractor #253](https://github.com/TeamMsgExtractor/msg-extractor/issues/253)] Fixed various docstring issues. diff --git a/README.rst b/README.rst index 4a0ba34c..b08ad951 100644 --- a/README.rst +++ b/README.rst @@ -206,8 +206,8 @@ And thank you to everyone who has opened an issue and helped us track down those .. |License: GPL v3| image:: https://img.shields.io/badge/License-GPLv3-blue.svg :target: LICENSE.txt -.. |PyPI3| image:: https://img.shields.io/badge/pypi-0.30.12-blue.svg - :target: https://pypi.org/project/extract-msg/0.30.12/ +.. |PyPI3| image:: https://img.shields.io/badge/pypi-0.30.13-blue.svg + :target: https://pypi.org/project/extract-msg/0.30.13/ .. |PyPI2| image:: https://img.shields.io/badge/python-3.6+-brightgreen.svg :target: https://www.python.org/downloads/release/python-367/ diff --git a/extract_msg/__init__.py b/extract_msg/__init__.py index 302e9578..14e2faa6 100644 --- a/extract_msg/__init__.py +++ b/extract_msg/__init__.py @@ -27,8 +27,8 @@ # along with this program. If not, see . __author__ = 'Destiny Peterson & Matthew Walker' -__date__ = '2022-05-01' -__version__ = '0.30.12' +__date__ = '2022-05-26' +__version__ = '0.30.13' import logging