Formatting and adding the requirements that were removed as part of the "Included charset detection" patch that was reverted. Added all but chardet~=3.0.4 which is not needed with this fix.

This commit is contained in:
Joseph Ishac
2021-02-21 23:09:33 -05:00
parent f71ef226bf
commit 14b318b0e2
3 changed files with 19 additions and 14 deletions

View File

@ -254,7 +254,7 @@ class MaildirFolder(BaseFolder):
# Interface from BaseFolder
def getmessage(self, uid):
"""Returns and email message object."""
"""Returns an email message object."""
filename = self.messagelist[uid]['filename']
filepath = os.path.join(self.getfullname(), filename)