Fixed css function to deal with default [customTheme] cookie
This commit is contained in:
parent
4ad70992f5
commit
7ac0d6291e
1 changed files with 5 additions and 1 deletions
|
@ -94,6 +94,10 @@ def css():
|
||||||
|
|
||||||
themes_dict = get_css_dict(css_path)
|
themes_dict = get_css_dict(css_path)
|
||||||
|
|
||||||
|
# TODO: Fix to work with default cookie value [customTheme]
|
||||||
|
if cookie_theme == "customTheme":
|
||||||
|
path = css_path+"ligtmode.css"
|
||||||
|
else:
|
||||||
path = themes_dict[cookie_theme]
|
path = themes_dict[cookie_theme]
|
||||||
|
|
||||||
f = open(path)
|
f = open(path)
|
||||||
|
|
Loading…
Reference in a new issue