From 0bff91bb07b50b0d6df02a56edc8135ba3fa163e Mon Sep 17 00:00:00 2001 From: soraefir Date: Mon, 8 Jun 2026 23:26:23 +0200 Subject: [PATCH] test fix --- modules/server/containers/apps/favicon.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/server/containers/apps/favicon.nix b/modules/server/containers/apps/favicon.nix index 904651b..0d6262f 100644 --- a/modules/server/containers/apps/favicon.nix +++ b/modules/server/containers/apps/favicon.nix @@ -125,12 +125,14 @@ let return None, DEFAULT_PROFILE def _replace_logo_fill(svg, color): - return re.sub( + svg, count = re.subn( r"fill:\\s*#3193f5\\b", f"fill:{color}", svg, flags=re.IGNORECASE, ) + print(f"favicon-fill replace_count={count} color={color}") + return svg def _colors(profile): profile = profile or {}