webconfig: Set a variable before

This fixes things if a theme is entirely empty.

Fixes #9590
This commit is contained in:
Fabian Boehm 2023-02-19 14:57:09 +01:00
parent 3dd8db281b
commit acde38fed3

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")