This commit is contained in:
Bob Mottram committed 2022-08-29 10:48:39 +01:00
1 parent ce73912b5b
commit 7ee99bcbfa
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -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
View File
@@ -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')