fix: apply mode substitution after dynamic template fill (#84)

This commit is contained in:
AteebXYZ
2026-02-10 13:37:58 +03:00
committed by GitHub
parent bdc5f91009
commit 6a91c7b990
+1 -1
View File
@@ -59,7 +59,7 @@ def gen_replace_dynamic(colours: dict[str, str], template: Path, mode: str) -> s
template_content = template.read_text()
template_filled = re.sub(dotField, fill_colour, template_content)
template_filled = re.sub(modeField, mode, template_content)
template_filled = re.sub(modeField, mode, template_filled)
return template_filled