rgladwell / imap-upload

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

Ensure error output on non zero exit #44

Closed poldy79 closed 2 years ago

poldy79 commented 2 years ago

Flush stdout before exit to ensure that all output of print is actually written to stdout.

Add missing format string parameter to print statement in case of unexpected exception in main().