[core/themes] Fix new theme code for Python 3.x
This commit is contained in:
parent
197c4c92a9
commit
63ef6b0bf8
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def themes():
|
||||||
for filename in glob.iglob("{}/*.json".format(path)):
|
for filename in glob.iglob("{}/*.json".format(path)):
|
||||||
if "test" not in filename:
|
if "test" not in filename:
|
||||||
themes[os.path.basename(filename).replace(".json", "")] = 1
|
themes[os.path.basename(filename).replace(".json", "")] = 1
|
||||||
result = themes.keys()
|
result = list(themes.keys())
|
||||||
result.sort()
|
result.sort()
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue