rgladwell / imap-upload

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

--google-takeout is a mandatory option #38

Closed poldy79 closed 2 years ago

poldy79 commented 2 years ago

As --google-takeout-language has a default 'en', the code suspects, that the option was set by the user and complains, that --google-takeout was not supplied. So currently (684cd23) --google-takeout is a mandatory option.

Do you know how to check if the user had supplied --google-takeout-language on cmdline or if it is just the default? We might could just ignore google-takeout-language, if google-takeout was not supplied... suggestions?

poldy79 commented 2 years ago

I have created https://github.com/rgladwell/imap-upload/pull/40 to solve this issue

rgladwell commented 2 years ago

Thanks @poldy79.