We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df5aa6c commit 6a04c7bCopy full SHA for 6a04c7b
outlook_owa/1.0.0/src/app.py
@@ -471,13 +471,15 @@ def merge(d1, d2):
471
output_dict["email_fileid"] = email_id[0]
472
473
if upload_attachments_shuffle:
474
+ atts_up = []
475
for attachment in email.attachments:
476
if type(attachment) == FileAttachment:
477
atts_up.append({"filename": attachment.name, "data": attachment.content})
478
elif type(attachment) == ItemAttachment:
479
atts_up.append({"filename": attachment.name, "data": attachment.item.mime_content})
480
else:
481
continue
482
+
483
atts_ids = self.set_files(atts_up)
484
output_dict["attachment_uids"] = atts_ids
485
0 commit comments