Uncommented marking mail as read when processed
This commit is contained in:
@@ -183,7 +183,7 @@ def process_attachments(mailbox, attachment_path, saved_hashes, xml_docs,
|
|||||||
csv_to_xml(final_path, xml_path, dtd_path, csv_mapping)
|
csv_to_xml(final_path, xml_path, dtd_path, csv_mapping)
|
||||||
else:
|
else:
|
||||||
logging.info("Skipped duplicate attachment: %s", att.filename)
|
logging.info("Skipped duplicate attachment: %s", att.filename)
|
||||||
#mailbox.flag(msg.uid, '\\Seen', True)
|
mailbox.flag(msg.uid, '\\Seen', True)
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
"""Code entrypoint."""
|
"""Code entrypoint."""
|
||||||
|
|||||||
Reference in New Issue
Block a user