Fix YAML file encoding problem

This commit is contained in:
Marian Steinbach 2018-05-03 11:29:11 +02:00
parent 7291b09e83
commit e15051952e
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def dir_entries():
if not filepath.endswith(".yaml"):
continue
with open(filepath, 'r') as yamlfile:
with open(filepath, 'r', encoding='utf8') as yamlfile:
for doc in yaml.load_all(yamlfile):
yield doc