debug print line in inject_to_template removed

This commit is contained in:
Nicolas 2025-05-31 11:48:22 +02:00
parent 664a08b2dc
commit dfa450f05c
1 changed files with 0 additions and 1 deletions

View File

@ -277,7 +277,6 @@ def inject_to_template(fields_dict: dict[str, str],
raise Exception('No template provided')
def replace_field(match: re.Match[str]) -> str:
print('--->', match.group(0))
return fields_dict.get(match.group(1), match.group(0))
return re.sub(r"(?:\%+\s*)?\<!--(.*?)-->", replace_field, template, 0, re.MULTILINE)