Theme filename

merge-requests/30/head
Bob Mottram 2021-12-04 17:22:30 +00:00
parent 12cd354f7c
commit a3817a14c5
1 changed files with 1 additions and 3 deletions

View File

@ -21,9 +21,7 @@ def htmlThemeDesigner(cssCache: {}, baseDir: str,
themeName: str) -> str:
"""Edit theme settings
"""
themeFilename = \
acctDir(baseDir, nickname, domain) + '/theme/' + \
themeName + '/theme.json'
themeFilename = baseDir + '/theme/' + themeName + '/theme.json'
themeJson = {}
if os.path.isfile(themeFilename):
themeJson = loadJson(themeFilename)