From e703f70754f9fde4f6b74c56dacc80d558484e89 Mon Sep 17 00:00:00 2001 From: anor Date: Sun, 22 Nov 2026 16:39:54 +1000 Subject: [PATCH] =?UTF-8?q?fix(=D0=B7=D0=B4=D0=BE=D1=80=D0=BE=D0=B2=D1=8C?= =?UTF-8?q?=D0=B5):=20=D0=B8=D0=BC=D0=BF=D0=BE=D1=80=D1=82=D1=8B=20=D0=B2?= =?UTF-8?q?=D0=BD=D1=83=D1=82=D1=80=D0=B8=20=D0=BF=D1=80=D0=BE=D0=B2=D0=B5?= =?UTF-8?q?=D1=80=D0=BA=D0=B8=20=D0=BE=D0=B1=D1=85=D0=BE=D0=B4=D0=B0=20?= =?UTF-8?q?=D0=B7=D0=BE=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- health_checks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/health_checks.py b/health_checks.py index 025cea4..468fd16 100644 --- a/health_checks.py +++ b/health_checks.py @@ -758,6 +758,8 @@ def check_review_notifications() -> Check: def check_zone_scan() -> Check: """Последний успешный ежедневный обход зон не старше 36 часов (крон 05:00).""" + from pathlib import Path + from datetime import datetime, timezone path = Path(os.environ.get("ZONE_SCAN_STATE", "/data_fast/smeta-web-data/_external/zone_scan_state.json")) try: