Commit 0e7eac85 authored by rgaudin's avatar rgaudin
Browse files

removed encoding on saving binary data

parent 4a1b02c4
......@@ -194,9 +194,7 @@ def run_phase_one(
# save YAML catalogs into local files inside VM for use by ideascube
for index, catalog in enumerate(CATALOGS):
with tempfile.NamedTemporaryFile(
suffix=".yml", delete=False, encoding="utf-8"
) as fd:
with tempfile.NamedTemporaryFile(suffix=".yml", delete=False) as fd:
yaml.safe_dump(
get_catalogs(machine._logger)[index],
fd,
......
Markdown is supported
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