forked from indymedia/epicyon
Don't include icons directory
parent
c0f6b2bc73
commit
01ede5b1ab
3
theme.py
3
theme.py
|
@ -27,7 +27,8 @@ def getThemesList(baseDir: str) -> []:
|
||||||
themes = []
|
themes = []
|
||||||
for subdir, dirs, files in os.walk(baseDir + '/theme'):
|
for subdir, dirs, files in os.walk(baseDir + '/theme'):
|
||||||
for themeName in dirs:
|
for themeName in dirs:
|
||||||
themes.append(themeName.title())
|
if '~' not in themeName and themeName != 'icons':
|
||||||
|
themes.append(themeName.title())
|
||||||
print('Themes available: ' + str(themes))
|
print('Themes available: ' + str(themes))
|
||||||
return themes
|
return themes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue