aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/report_ops/status.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/report_ops/status.py b/python/report_ops/status.py
index c454b1b5..040431ce 100644
--- a/python/report_ops/status.py
+++ b/python/report_ops/status.py
@@ -56,6 +56,8 @@ class QuantifiRemote(
@classmethod
@lru_cache(1280)
def process(cls, fname):
+ if fname.startswith("kickout"): # We only want to process status messages here
+ return
file_io = BytesIO()
cls._client.client.retrbinary(f"RETR /OUTGOING/status/{fname}", file_io.write)
file_io.seek(0)
@@ -75,6 +77,7 @@ class QuantifiRemote(
else:
QuantifiMonitor.stage(data)
QuantifiMonitor.email(fname.removesuffix(".xml"), int(data["errors"]) > 0)
+ QuantifiMonitor().clear()
finally:
item._insert_queue.clear()