modules: explicit encodings for open()
This commit is contained in:
parent
38d2ab685c
commit
b07aca5d86
89 changed files with 144 additions and 144 deletions
|
|
@ -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})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue