forked from indymedia/epicyon
Remove theme before applying new one
parent
52284cb1dc
commit
8a2acb5b7a
1
theme.py
1
theme.py
|
@ -1430,6 +1430,7 @@ def setTheme(baseDir: str, name: str, domain: str) -> bool:
|
||||||
result = False
|
result = False
|
||||||
|
|
||||||
prevThemeName = getTheme(baseDir)
|
prevThemeName = getTheme(baseDir)
|
||||||
|
removeTheme(baseDir)
|
||||||
|
|
||||||
themes = getThemesList(baseDir)
|
themes = getThemesList(baseDir)
|
||||||
for themeName in themes:
|
for themeName in themes:
|
||||||
|
|
Loading…
Reference in New Issue