mark Einsatzrapport seen when processed
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
44d7a2f364
commit
cadfe1aa55
|
@ -77,7 +77,7 @@ class EmailHandling:
|
|||
temp.append(val)
|
||||
msg_id_subject_deduplicated[key] = val
|
||||
self.logger.info(
|
||||
"Adding Message ID %s '%s' to list to process", msg_id, subject
|
||||
"Adding Message ID %s '%s' to list to process", key, val
|
||||
)
|
||||
else:
|
||||
self.mark_seen(key, key)
|
||||
|
|
|
@ -244,6 +244,10 @@ def main():
|
|||
"Scan {} wurde bearbeitet und in Cloud geladen".format(f_id),
|
||||
title="Feuerwehr Scan bearbeitet - {}".format(f_id),
|
||||
)
|
||||
|
||||
# Marking message as seen, no need to reprocess again
|
||||
imap_client.mark_seen(msg, f_id)
|
||||
|
||||
else:
|
||||
logger.error("[%s] Unknown type: %s", f_id, f_type)
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "pylokid"
|
||||
version = "3.1.1"
|
||||
version = "3.1.2"
|
||||
description = ""
|
||||
authors = ["Tobias Brunner <tobias@tobru.ch>"]
|
||||
license = "MIT"
|
||||
|
|
Loading…
Reference in New Issue