Skip to content

Commit

Permalink
Test 3 uft8
Browse files Browse the repository at this point in the history
  • Loading branch information
douglas-fva committed Oct 25, 2023
1 parent 8c27b95 commit 7fbcc63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion output_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,6 @@ def output_function(components: list, components_prime: list, sol_x: list, input
"warnings": warnings}


with open(stdout.fileno(), encoding="utf-8", closefd=False) as encodedout:
with open(stdout.fileno(), mode='w', encoding="utf8", buffering=1) as encodedout:
# outputfile.write(json_object)
dump(output_dict, encodedout, ensure_ascii=False, indent = 3)

0 comments on commit 7fbcc63

Please sign in to comment.