diff --git a/spider.py b/spider.py index feb1337..2f200d8 100644 --- a/spider.py +++ b/spider.py @@ -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