Base directory parameter

main
Bob Mottram 2020-11-14 15:31:49 +00:00
parent cfd346083a
commit c0f6b2bc73
2 changed files with 2 additions and 2 deletions

View File

@ -1398,7 +1398,7 @@ def setTheme(baseDir: str, name: str, domain: str) -> bool:
prevThemeName = getTheme(baseDir)
themes = getThemesList()
themes = getThemesList(baseDir)
for themeName in themes:
themeNameLower = themeName.lower()
if name == themeNameLower:

View File

@ -1114,7 +1114,7 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
'style="height:200px">' + editors + '</textarea>'
editorsStr += '</div>'
themes = getThemesList()
themes = getThemesList(baseDir)
themesDropdown = '<div class="container">'
themesDropdown += ' <b>' + translate['Theme'] + '</b><br>'
grayscaleFilename = \