Skip to content
Snippets Groups Projects
Verified Commit 7c3352af authored by Daniel Hornung's avatar Daniel Hornung
Browse files

MAINT: Linting.

parent a535ffc7
No related branches found
No related tags found
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!171sav/spss converter
......@@ -62,11 +62,10 @@ def load_definition(crawler_definition_path: str):
"""
# Load the cfood from a yaml file:
with open(crawler_definition_path, "r") as f:
with open(crawler_definition_path, encoding="utf-8") as f:
crawler_definitions = list(yaml.safe_load_all(f))
crawler_definition = _load_definition_from_yaml_dict(
crawler_definitions)
crawler_definition = _load_definition_from_yaml_dict(crawler_definitions)
return _resolve_validator_paths(crawler_definition, crawler_definition_path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment