Theme name

merge-requests/8/head
Bob Mottram 2020-11-14 17:40:11 +00:00
parent 566d9cbab8
commit 4cf6af9734
1 changed files with 2 additions and 2 deletions

View File

@ -1437,9 +1437,9 @@ def setTheme(baseDir: str, name: str, domain: str) -> bool:
setThemeDefault(baseDir)
result = True
variablesFile = baseDir + '/theme/' + themeName.lower() + '/theme.json'
variablesFile = baseDir + '/theme/' + name + '/theme.json'
if os.path.isfile(variablesFile):
readVariablesFile(baseDir, themeName.lower(), variablesFile)
readVariablesFile(baseDir, name, variablesFile)
setCustomFont(baseDir)