pull/4/head
Sascha Rommelfangen 2017-06-01 18:45:31 +02:00
parent e1ade5b8d7
commit 5318c7b5a7
1 changed files with 1 additions and 4 deletions

View File

@ -80,10 +80,7 @@ for part in msg.walk():
continue
if part.get_content_maintype() == 'text':
part.set_charset(charset)
try:
syslog.syslog(str(part.get_payload(decode=True))
except Exception as e:
syslog.syslog(str(e))
syslog.syslog(str(part.get_payload(decode=True)))
email_data += part.get_payload(decode=True)
print("here")
email_subject += mail_subject