From b0f5d5789b5887e3ed1eb6e0b217f0c5aba272c2 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Fri, 8 May 2026 20:23:39 +0200 Subject: [PATCH] fallback font color on text thumbnails if no arg given --- copyparty/ico.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/ico.py b/copyparty/ico.py index f49e8071..5d79e9e4 100644 --- a/copyparty/ico.py +++ b/copyparty/ico.py @@ -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")