jgunthorpe / cloud_mdir_sync

Download mailboxes from the cloud into a local MailDir
Other
16 stars 9 forks source link

Bug in message.get_header() #16

Open wang2357 opened 1 month ago

wang2357 commented 1 month ago

The get_header() method of messages should return val after line 104. Otherwise, this method will return None for any header on the first call.

jgunthorpe commented 1 month ago

Can you make a patch?

wang2357 commented 1 month ago

I have made the suggested change (adding a line "return val" to the get_header method, and initiated a pull request.