fallback font color on text thumbnails if no arg given

This commit is contained in:
Til Schmitter 2026-05-08 20:23:39 +02:00
parent a479d0ec0e
commit b0f5d5789b

View file

@ -101,6 +101,6 @@ class Ico(object):
else:
y = "50%"
svg = svg.format(h, y, accent, txt)
svg = svg.format(h, y, accent or '#000', txt)
return "image/svg+xml", svg.encode("utf-8")