From 4e60a4e214fb0032d75c00a104e475b326702df0 Mon Sep 17 00:00:00 2001 From: Roman Buryan Date: Thu, 5 Nov 2026 19:23:19 +0300 Subject: [PATCH] =?UTF-8?q?[SPRINT-V1][B]=20=D0=A4=D0=B8=D0=BA=D1=81=20?= =?UTF-8?q?=D0=BF=D0=B0=D1=80=D1=81=D0=B8=D0=BD=D0=B3=D0=B0=20=D1=81=D0=B2?= =?UTF-8?q?=D0=BE=D0=B4=D0=BA=D0=B8=20=D0=B3=D0=B8=D0=B3=D0=B8=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20=D0=BF=D0=BE=D0=B4=20=D0=BD=D0=BE=D0=B2=D1=8B=D0=B9=20?= =?UTF-8?q?=D1=84=D0=BE=D1=80=D0=BC=D0=B0=D1=82=20=D0=BE=D1=82=D1=87=D1=91?= =?UTF-8?q?=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ops/scripts/hygiene_notify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ops/scripts/hygiene_notify.py b/ops/scripts/hygiene_notify.py index 25f2abc..7b1dc64 100644 --- a/ops/scripts/hygiene_notify.py +++ b/ops/scripts/hygiene_notify.py @@ -31,7 +31,7 @@ def main(): print("нет отчёта:", e) return 1 - m = re.search(r"Найдено: \*\*(\d+)\*\*", text) + m = re.search(r"(?:находок|Найдено):\s*\*\*(\d+)\*\*", text, re.I) total = m.group(1) if m else "?" m2 = re.search(r"· high: (\d+) · medium: (\d+) · low: (\d+) · info: (\d+)", text) counts = m2.groups() if m2 else ("?", "?", "?", "?")