Setting theme values

main
Bob Mottram 2022-04-05 12:14:37 +01:00
parent 3554f0e205
commit 0143c7c5a0
1 changed files with 2 additions and 1 deletions

View File

@ -867,7 +867,8 @@ def set_theme(base_dir: str, name: str, domain: str,
theme_name_lower = theme_name.lower()
if name == theme_name_lower:
if prev_theme_name:
if prev_theme_name.lower() != theme_name_lower:
if prev_theme_name.lower() != theme_name_lower or \
designer_reset:
# change the banner and profile image
# to the default for the theme
_set_theme_images(base_dir, name)