Fix typo in Message.maildir_flags_to_tags

It has been calling _tags_to_maildir_flags instead since the beginning,
This commit is contained in:
Jaime Velasco Juan 2016-07-04 19:49:31 +01:00 committed by David Bremner
parent 92d8eae8f1
commit 4bf82dea2d

View file

@ -572,7 +572,7 @@ class Message(Python3StringMixIn):
notmuch.STATUS.SUCCESS here. See there for details."""
if not self._msg:
raise NotInitializedError()
return Message._tags_to_maildir_flags(self._msg)
return Message._maildir_flags_to_tags(self._msg)
def __repr__(self):
"""Represent a Message() object by str()"""