From a31de36a4a08d651542a1a0102264073d6f1c320 Mon Sep 17 00:00:00 2001 From: George Marchment <georgemarchment@yahoo.fr> Date: Mon, 13 Jan 2025 14:57:40 +0100 Subject: [PATCH] Update there was a bug --- src/workflow.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workflow.py b/src/workflow.py index f5eb436..b9ae98f 100644 --- a/src/workflow.py +++ b/src/workflow.py @@ -704,7 +704,7 @@ George Marchment, Bryan Brancotte, Marie Schmit, Frédéric Lemoine, Sarah Cohen if(code.find(end_code)!=-1): pos_end = code.find(end_code) code_to_replace = code[pos_start:pos_end] - for match in re.finditer(start_code_pattern, start_code): + for match in re.finditer(start_code_pattern, code): pos_start = match.span(0)[1]+1 #if(code.find(start_code)!=-1): # pos_start = code.find(start_code)+len(start_code) -- GitLab