forked from indymedia/epicyon
next
This commit is contained in:
1 parent
01ede5b1ab
commit
b2a481ce75
1 file changed
+1
-1
@@ -25,7 +25,7 @@ def getThemesList(baseDir: str) -> []:
|
||||
and to lookup function names
|
||||
"""
|
||||
themes = []
|
||||
for subdir, dirs, files in os.walk(baseDir + '/theme'):
|
||||
for subdir, dirs, files in next(os.walk(baseDir + '/theme')):
|
||||
for themeName in dirs:
|
||||
if '~' not in themeName and themeName != 'icons':
|
||||
themes.append(themeName.title())
|
||||
|
||||
Reference in new issue
Block a user