From c0f6b2bc7346d0e0ead028240e2f1a54f409a04a Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 14 Nov 2020 15:31:49 +0000 Subject: [PATCH] Base directory parameter --- theme.py | 2 +- webapp_profile.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = '
' themesDropdown += ' ' + translate['Theme'] + '
' grayscaleFilename = \