Fixed theme issue in server mode.

This commit is contained in:
Akshay Joshi 2021-09-09 14:10:37 +05:30
parent 103393fee6
commit 1585e6b424

View File

@ -33,6 +33,7 @@ def themes(app):
def get_theme_css():
all_themes = get_all_themes()
theme_css = all_themes['standard']['cssfile'] + '.css'
theme = 'standard'
try:
misc_preference = Preferences.module('misc')
theme = misc_preference.preference('theme').get()