Fix typo
This commit is contained in:
parent
33203af6cc
commit
2d0e405fb2
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ def css():
|
||||||
path = os.path.join(app.root_path, "views/themes.yml")
|
path = os.path.join(app.root_path, "views/themes.yml")
|
||||||
with open(path, 'r') as stream:
|
with open(path, 'r') as stream:
|
||||||
data = yaml.safe_load(stream)
|
data = yaml.safe_load(stream)
|
||||||
# Build a dictionary from the YAML file with all the themes and there attributes.
|
# Build a dictionary from the YAML file with all the themes and their attributes.
|
||||||
themes = {}
|
themes = {}
|
||||||
for item in data:
|
for item in data:
|
||||||
key = list(item.keys())[0]
|
key = list(item.keys())[0]
|
||||||
|
|
Loading…
Reference in a new issue