From 4cf6af9734d0325edf5fe83d550a846361045c33 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 14 Nov 2020 17:40:11 +0000 Subject: [PATCH] Theme name --- theme.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/theme.py b/theme.py index 4b2a1d29..0cc809c1 100644 --- a/theme.py +++ b/theme.py @@ -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)