From e852919a28aad48465c21ffdb8861b145824df13 Mon Sep 17 00:00:00 2001 From: Floke Date: Tue, 1 Jul 2025 07:31:13 +0000 Subject: [PATCH] bugfix --- helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.py b/helpers.py index 2189695e..48cf90f5 100644 --- a/helpers.py +++ b/helpers.py @@ -989,7 +989,7 @@ def evaluate_branche_chatgpt(crm_branche, beschreibung, wiki_branche, wiki_kateg line_lower = line_stripped.lower() # WICHTIG: Variable wieder einführen # Flexibleres Parsing mit Regex, ignoriert Groß/Kleinschreibung - branch_match = re.match(r"^(Branche|Branchenzuordnung):\s*(.*)", line_stripped, re.IGNORECASE) + branch_match = re.match(r"^(Branche|Branchenzuordnung|Branchenwahl):\s*(.*)", line_stripped, re.IGNORECASE) if branch_match: suggested_branch = branch_match.group(2).strip().strip('"\'') parsed_branch = True