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
email sent
Traceback (most recent call last):
File "topstories.py", line 145, in
topstories = update_topstories()
File "topstories.py", line 138, in update_topstories
send_email_update(new_top_stories)
File "topstories.py", line 36, in send_email_update
send_email(subject, msg, ADMIN_EMAIL)
File "/app/util.py", line 15, in send_email
msg = MIMEText(body)
File "/app/.heroku/python/lib/python2.7/email/mime/text.py", line 30, in init
self.set_payload(_text, _charset)
File "/app/.heroku/python/lib/python2.7/email/message.py", line 226, in set_payload
self.set_charset(charset)
File "/app/.heroku/python/lib/python2.7/email/message.py", line 262, in set_charset
self._payload = self._payload.encode(charset.output_charset)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 7: ordinal not in range(128)
The text was updated successfully, but these errors were encountered:
on the headline maybe? checkit:
email sent
Traceback (most recent call last):
File "topstories.py", line 145, in
topstories = update_topstories()
File "topstories.py", line 138, in update_topstories
send_email_update(new_top_stories)
File "topstories.py", line 36, in send_email_update
send_email(subject, msg, ADMIN_EMAIL)
File "/app/util.py", line 15, in send_email
msg = MIMEText(body)
File "/app/.heroku/python/lib/python2.7/email/mime/text.py", line 30, in init
self.set_payload(_text, _charset)
File "/app/.heroku/python/lib/python2.7/email/message.py", line 226, in set_payload
self.set_charset(charset)
File "/app/.heroku/python/lib/python2.7/email/message.py", line 262, in set_charset
self._payload = self._payload.encode(charset.output_charset)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2019' in position 7: ordinal not in range(128)
The text was updated successfully, but these errors were encountered: