Commit a11fa39a authored by Dworatzyk, Katharina's avatar Dworatzyk, Katharina Committed by Hueser, Christian (FWCC) - 138593
Browse files

Specify encoding when importing (meta)data

parent 55fc9bc0
......@@ -171,12 +171,12 @@ def analyze(survey_data: click.Path) -> None:
# Load the metadata"Attempt to load metadata from {settings.METADATA}")
with"r") as metadata_io_stream:
with"r", encoding="utf-8") as metadata_io_stream:
metadata_yaml = yaml.safe_load(metadata_io_stream)
# Load the actual survey data
with"r") as data_io_stream:
with"r", encoding="utf-8") as data_io_stream:
csv_reader = reader(data_io_stream)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment