modules: explicit encodings for open()

This commit is contained in:
Simon de Vlieger 2022-09-09 12:02:33 +02:00
parent 38d2ab685c
commit b07aca5d86
89 changed files with 144 additions and 144 deletions

View file

@ -166,7 +166,7 @@ def main(tree, output_dir, options, meta):
stdout=sys.stderr,
check=True)
with open(os.path.join(output_dir, "compose.json"), "r") as f:
with open(os.path.join(output_dir, "compose.json"), "r", encoding="utf8") as f:
compose = json.load(f)
api.metadata({"compose": compose})