2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-02-13 20:48:37 +00:00

webconfig: Set a variable before

This fixes things if a theme is entirely empty.

Fixes 

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