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 = []
|
||||
for subdir, dirs, files in os.walk(baseDir + '/theme'):
|
||||
for themeName in dirs:
|
||||
if '~' not in themeName and themeName != 'icons':
|
||||
themes.append(themeName.title())
|
||||
print('Themes available: ' + str(themes))
|
||||
return themes
|
||||
|
|
Loading…
Reference in New Issue