webconfig: Set a variable before

This fixes things if a theme is entirely empty.

Fixes #9590

(cherry picked from commit acde38fed3)
This commit is contained in:
Fabian Boehm 2023-02-19 14:57:09 +01:00 committed by David Adam
parent 17332226e4
commit 338451c25c

View file

@ -1508,6 +1508,7 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
"fish_pager_color_secondary_description",
)
)
output=""
for item in postvars.get("colors"):
what = item.get("what")
color = item.get("color")