diff --git a/theme.py b/theme.py index faf8f3fc..1e376052 100644 --- a/theme.py +++ b/theme.py @@ -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: diff --git a/webapp_profile.py b/webapp_profile.py index b38f3788..84dbc57e 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -1114,7 +1114,7 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str, 'style="height:200px">' + editors + '' editorsStr += '' - themes = getThemesList() + themes = getThemesList(baseDir) themesDropdown = '