mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
ce73912b5b
commit
7ee99bcbfa
|
@ -5871,9 +5871,9 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if check_name_and_bio:
|
||||
redirect_path = 'previewAvatar'
|
||||
|
||||
# change the theme from edit profile screen
|
||||
if nickname == admin_nickname or \
|
||||
is_artist(base_dir, nickname):
|
||||
# change theme
|
||||
if fields.get('themeDropdown'):
|
||||
if self.server.theme_name != \
|
||||
fields['themeDropdown']:
|
||||
|
|
1
theme.py
1
theme.py
|
@ -542,6 +542,7 @@ def reset_theme_designer_settings(base_dir: str) -> None:
|
|||
if os.path.isfile(custom_variables_file):
|
||||
try:
|
||||
os.remove(custom_variables_file)
|
||||
print('Theme designer settings were reset')
|
||||
except OSError:
|
||||
print('EX: unable to remove theme designer settings on reset')
|
||||
|
||||
|
|
Loading…
Reference in New Issue