mirror of https://gitlab.com/bashrc2/epicyon
next
parent
01ede5b1ab
commit
b2a481ce75
2
theme.py
2
theme.py
|
@ -25,7 +25,7 @@ def getThemesList(baseDir: str) -> []:
|
||||||
and to lookup function names
|
and to lookup function names
|
||||||
"""
|
"""
|
||||||
themes = []
|
themes = []
|
||||||
for subdir, dirs, files in os.walk(baseDir + '/theme'):
|
for subdir, dirs, files in next(os.walk(baseDir + '/theme')):
|
||||||
for themeName in dirs:
|
for themeName in dirs:
|
||||||
if '~' not in themeName and themeName != 'icons':
|
if '~' not in themeName and themeName != 'icons':
|
||||||
themes.append(themeName.title())
|
themes.append(themeName.title())
|
||||||
|
|
Loading…
Reference in New Issue