From 4b99b109bd60f2bbeff859ebcd50cc5e7de6627a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Fri, 15 Aug 2025 22:29:40 +0200 Subject: [PATCH] fix w sugestiach --- app.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 1b0ab05..fbdada0 100644 --- a/app.py +++ b/app.py @@ -961,7 +961,9 @@ def get_active_months_query(visible_lists_query=None): def normalize_name(name): - return (name or "").strip().lower() + if not name: + return "" + return re.sub(r'\s+', ' ', name).strip().lower() ############# OCR ###########################