protonmail-cli
protonmail-cli copied to clipboard
TypeError: 'NoneType' object is not iterable
When I start the login is running but cannot list the emails or check them
[INFO] 2021-11-20 13:47:23: Initiating ProtonMail client
[INFO] 2021-11-20 13:47:26: Logging in...
[INFO] 2021-11-20 13:47:34: Logged in successfully
[INFO] 2021-11-20 13:47:34: Opening https://mail.protonmail.com/inbox
Traceback (most recent call last):
File "protonmail-cli.py", line 159, in <module>
args.func(args)
File "protonmail-cli.py", line 13, in subcommand_list
for mail in client.get_mails(args.type):
TypeError: 'NoneType' object is not iterable