Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'NoneType' object is not subscriptable #24

Open
unclehowell opened this issue Mar 29, 2024 · 0 comments
Open

TypeError: 'NoneType' object is not subscriptable #24

unclehowell opened this issue Mar 29, 2024 · 0 comments

Comments

@unclehowell
Copy link

Traceback (most recent call last):
File "/home/user/Downloads/mbox-to-csv/mbox_parser.py", line 115, in
date = get_date(email["date"], os.getenv("DATE_FORMAT"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/unclehowell/Downloads/mbox-to-csv/mbox_parser.py", line 23, in get_date
utc_seconds_since_epoch = mktime_tz(time_tuple)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/email/_parseaddr.py", line 193, in mktime_tz
if data[9] is None:
~~~~^^^
TypeError: 'NoneType' object is not subscriptable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant