For users that have left Webex Teams, the API doesn't return any information including the e-mail. This needs to be handled better.
File "/webexteamsarchiver/webexteamsarchiver.py", line 155, in archive_room
text_format, html_format, json_format, timestamp_format)
File "/webexteamsarchiver/webexteamsarchiver.py", line 215, in _archive
"", "", "", sanitize_name(msg.personEmail), False)
File "/webexteamsarchiver/jinja_env.py", line 49, in sanitize_name
return re.sub('[^A-Za-z0-9]+', '_', email)
File "/home/user/.pyenv/versions/3.6.1/lib/python3.6/re.py", line 191, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object
For users that have left Webex Teams, the API doesn't return any information including the e-mail. This needs to be handled better.