rgladwell / imap-upload

Python script for uploading a local mbox file to IMAP4 server.
Other
130 stars 30 forks source link

Fix: verbose logging disabled for non takeout #58

Closed rgladwell closed 2 years ago

rgladwell commented 2 years ago

Verbose logging was disabled for non-Google Takeout imports, by this change:

https://github.com/rgladwell/imap-upload/pull/35

This PR re-enables it.

rgladwell commented 2 years ago

Hey @OriolMari, I've attempted to re-enble the logging here. Does this work for you?

OriolMari commented 2 years ago

Hi @rgladwell, I think that left_fit_width(sbj, 30)) is not working and should be '{:30.30}'.format(remove_control_chars(sbj)))

rgladwell commented 2 years ago

@OriolMari Updated, please let me know if this works.

For future reference, it might be quicker if you fork and merge changes to this PR yourself. Unfortunately, it's difficult for me to test the script so I'm updating the code blindly.

OriolMari commented 2 years ago

@rgladwell It works. Thank you very much

If I find more issues I'll try to fork the code