mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-02 18:59:53 +00:00
Debug
This commit is contained in:
1 parent
ce73912b5b
commit
7ee99bcbfa
2 files changed
+2
-1
No files matched your search
@@ -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']:
|
||||
|
||||
@@ -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')
|
||||
|
||||
|
||||
Reference in new issue
Block a user