forked from indymedia/epicyon
Theme name
parent
566d9cbab8
commit
4cf6af9734
4
theme.py
4
theme.py
|
@ -1437,9 +1437,9 @@ def setTheme(baseDir: str, name: str, domain: str) -> bool:
|
||||||
setThemeDefault(baseDir)
|
setThemeDefault(baseDir)
|
||||||
result = True
|
result = True
|
||||||
|
|
||||||
variablesFile = baseDir + '/theme/' + themeName.lower() + '/theme.json'
|
variablesFile = baseDir + '/theme/' + name + '/theme.json'
|
||||||
if os.path.isfile(variablesFile):
|
if os.path.isfile(variablesFile):
|
||||||
readVariablesFile(baseDir, themeName.lower(), variablesFile)
|
readVariablesFile(baseDir, name, variablesFile)
|
||||||
|
|
||||||
setCustomFont(baseDir)
|
setCustomFont(baseDir)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue