diff options
Diffstat (limited to 'python/report_ops')
| -rw-r--r-- | python/report_ops/status.py | 9 | ||||
| -rw-r--r-- | python/report_ops/utils.py | 2 |
2 files changed, 5 insertions, 6 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() diff --git a/python/report_ops/utils.py b/python/report_ops/utils.py index 703204dc..fef8083b 100644 --- a/python/report_ops/utils.py +++ b/python/report_ops/utils.py @@ -366,7 +366,7 @@ class QuantifiMonitor( </body> </html>""" ), - to_recipients=(_recipients["NY_CREW"]), + to_recipients=("fyu@lmcg.com",), attach=[FileAttachment(name=filename + ".xml", content=buf)], ) |
