forked from indymedia/epicyon
Don't include icons directory
parent
c0f6b2bc73
commit
01ede5b1ab
1
theme.py
1
theme.py
|
@ -27,6 +27,7 @@ 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:
|
||||||
|
if '~' not in themeName and themeName != 'icons':
|
||||||
themes.append(themeName.title())
|
themes.append(themeName.title())
|
||||||
print('Themes available: ' + str(themes))
|
print('Themes available: ' + str(themes))
|
||||||
return themes
|
return themes
|
||||||
|
|
Loading…
Reference in New Issue