[core/themes] Fix new theme code for Python 3.x

This commit is contained in:
Tobias Witek 2017-11-26 20:05:28 +01:00
parent 197c4c92a9
commit 63ef6b0bf8

View file

@ -24,7 +24,7 @@ def themes():
for filename in glob.iglob("{}/*.json".format(path)):
if "test" not in filename:
themes[os.path.basename(filename).replace(".json", "")] = 1
result = themes.keys()
result = list(themes.keys())
result.sort()
return result