Skip to content

Commit

Permalink
fix MailBoxFolderManager.list double quotes bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ikvk committed Aug 5, 2024
1 parent 1d523fa commit 08b9777
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ Big thanks to people who helped develop this library:
`meetttttt <https://github.com/meetttttt>`_,
`sapristi <https://github.com/sapristi>`_,
`thomwiggers <https://github.com/thomwiggers>`_,
`histogal <https://github.com/histogal>`_,
`histogal <https://github.com/histogal>`_

Help the project
----------------
Expand Down
6 changes: 5 additions & 1 deletion docs/release_notes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
1.7.2
=====
* Fixed: MailBoxFolderManager.list double quotes bug

1.7.1
=====
* Fixed: MailBoxFolderManager.list parse bug
* Fixed: MailBoxFolderManager.list folder_item_re bug

1.7.0
=====
Expand Down
2 changes: 1 addition & 1 deletion imap_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
from .utils import EmailAddress
from .errors import *

__version__ = '1.7.1'
__version__ = '1.7.2'
2 changes: 1 addition & 1 deletion imap_tools/folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def list(self, folder: AnyStr = '', search_args: str = '*', subscribed_only: boo
else:
continue
result.append(FolderInfo(
name=name,
name=name.replace('\\"', '"'),
delim=folder_dict['delim'].replace('"', ''),
flags=tuple(folder_dict['flags'].split()) # noqa,
))
Expand Down

0 comments on commit 08b9777

Please sign in to comment.