summaryrefslogtreecommitdiff
path: root/email_assistant/plugins/general.py
diff options
context:
space:
mode:
Diffstat (limited to 'email_assistant/plugins/general.py')
-rw-r--r--email_assistant/plugins/general.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/email_assistant/plugins/general.py b/email_assistant/plugins/general.py
index c0517b8..e21274d 100644
--- a/email_assistant/plugins/general.py
+++ b/email_assistant/plugins/general.py
@@ -24,7 +24,7 @@ def get_events(msg):
24 log = logging.getLogger('assistant.marriott') 24 log = logging.getLogger('assistant.marriott')
25 for part in msg.walk(): 25 for part in msg.walk():
26 if part.get_content_type() == 'text/html': 26 if part.get_content_type() == 'text/html':
27 soup = BeautifulSoup(part.get_payload(decode=True).decode('utf8'), 'html.parser') 27 soup = BeautifulSoup(part.get_payload(decode=True), 'html.parser')
28 28
29 start = end = location = None 29 start = end = location = None
30 for element in soup.descendants: 30 for element in soup.descendants: