From b2a481ce75f1498e46e3f61abc6e490190f66a08 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 14 Nov 2020 15:36:05 +0000 Subject: [PATCH] next --- theme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme.py b/theme.py index 7774b0dd..f1b6c44f 100644 --- a/theme.py +++ b/theme.py @@ -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())