Don't include icons directory

main
Bob Mottram 2020-11-14 15:34:13 +00:00
parent c0f6b2bc73
commit 01ede5b1ab
1 changed files with 2 additions and 1 deletions

View File

@ -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