test fix
This commit is contained in:
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user