You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\sales\eml-extractor-main\eml_extractor.py", line 113, in
main()
File "D:\sales\eml-extractor-main\eml_extractor.py", line 108, in main
extract_attachments(file, destination=args.destination)
File "D:\sales\eml-extractor-main\eml_extractor.py", line 13, in extract_attachments
basepath = destination / sanitize_foldername(email_subject)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\sales\eml-extractor-main\eml_extractor.py", line 33, in sanitize_foldername
return re.sub(illegal_chars, '_', name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\re_init_.py", line 185, in sub
return _compile(pattern, flags).sub(repl, string, count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "D:\sales\eml-extractor-main\eml_extractor.py", line 113, in
main()
File "D:\sales\eml-extractor-main\eml_extractor.py", line 108, in main
extract_attachments(file, destination=args.destination)
File "D:\sales\eml-extractor-main\eml_extractor.py", line 13, in extract_attachments
basepath = destination / sanitize_foldername(email_subject)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\sales\eml-extractor-main\eml_extractor.py", line 33, in sanitize_foldername
return re.sub(illegal_chars, '_', name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python311\Lib\re_init_.py", line 185, in sub
return _compile(pattern, flags).sub(repl, string, count)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'
The text was updated successfully, but these errors were encountered: