mirror of
https://github.com/netzbegruenung/green-spider.git
synced 2024-05-06 02:43:42 +02:00
Fix YAML file encoding problem
This commit is contained in:
parent
7291b09e83
commit
e15051952e
|
@ -67,7 +67,7 @@ def dir_entries():
|
||||||
if not filepath.endswith(".yaml"):
|
if not filepath.endswith(".yaml"):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
with open(filepath, 'r') as yamlfile:
|
with open(filepath, 'r', encoding='utf8') as yamlfile:
|
||||||
for doc in yaml.load_all(yamlfile):
|
for doc in yaml.load_all(yamlfile):
|
||||||
yield doc
|
yield doc
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue