mirror of https://gitlab.com/bashrc2/epicyon
Base directory parameter
parent
cfd346083a
commit
c0f6b2bc73
2
theme.py
2
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:
|
||||
|
|
|
@ -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 = \
|
||||
|
|
Loading…
Reference in New Issue