mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
fallback font color on text thumbnails if no arg given
This commit is contained in:
parent
a479d0ec0e
commit
b0f5d5789b
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue