From 924a012a7da2bfc65632f5665fc2cf5fae26fcec Mon Sep 17 00:00:00 2001 From: Ivo Oskamp Date: Fri, 20 Mar 2026 11:39:05 +0100 Subject: [PATCH] Auto-commit local changes before build (2026-03-20 11:39:05) --- .../src/backend/app/cloud_connect_importer.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/containers/backupchecks/src/backend/app/cloud_connect_importer.py b/containers/backupchecks/src/backend/app/cloud_connect_importer.py index eaf5c58..0019fd3 100644 --- a/containers/backupchecks/src/backend/app/cloud_connect_importer.py +++ b/containers/backupchecks/src/backend/app/cloud_connect_importer.py @@ -170,17 +170,7 @@ def _parse_report_tables(html: str) -> list[dict]: last_active_raw = cells[7] if len(cells) > 7 else "" status = _row_status(row_attr) - - # Downgrade to Warning when last active is suspiciously old but row is white. last_active_dt = _parse_last_active(last_active_raw) - if status == "Success" and last_active_raw.lower() == "never": - status = "Warning" - elif ( - status == "Success" - and last_active_dt - and (datetime.utcnow() - last_active_dt) > timedelta(days=3) - ): - status = "Warning" results.append({ "section": section,