test fix
This commit is contained in:
@@ -125,12 +125,14 @@ let
|
|||||||
return None, DEFAULT_PROFILE
|
return None, DEFAULT_PROFILE
|
||||||
|
|
||||||
def _replace_logo_fill(svg, color):
|
def _replace_logo_fill(svg, color):
|
||||||
return re.sub(
|
svg, count = re.subn(
|
||||||
r"fill:\\s*#3193f5\\b",
|
r"fill:\\s*#3193f5\\b",
|
||||||
f"fill:{color}",
|
f"fill:{color}",
|
||||||
svg,
|
svg,
|
||||||
flags=re.IGNORECASE,
|
flags=re.IGNORECASE,
|
||||||
)
|
)
|
||||||
|
print(f"favicon-fill replace_count={count} color={color}")
|
||||||
|
return svg
|
||||||
|
|
||||||
def _colors(profile):
|
def _colors(profile):
|
||||||
profile = profile or {}
|
profile = profile or {}
|
||||||
|
|||||||
Reference in New Issue
Block a user