aboutsummaryrefslogtreecommitdiffstats
path: root/python/report_ops/status.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/report_ops/status.py')
-rw-r--r--python/report_ops/status.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/python/report_ops/status.py b/python/report_ops/status.py
index f99aa252..536e8639 100644
--- a/python/report_ops/status.py
+++ b/python/report_ops/status.py
@@ -74,11 +74,10 @@ class QuantifiRemote(
except UniqueViolation:
item._conn.rollback()
else:
- if int(data["errors"]) > 0:
- QuantifiMonitor.stage(data)
- buf.seek(0)
- QuantifiMonitor.email(fname.removesuffix(".xml"), True, buf.getvalue())
- QuantifiMonitor._staging_queue.clear()
+ QuantifiMonitor.stage(data)
+ buf.seek(0)
+ QuantifiMonitor.email(fname.removesuffix(".xml"), True, buf.getvalue())
+ QuantifiMonitor._staging_queue.clear()
finally:
item._insert_queue.clear()