mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
fix: set ensure_ascii to False because utf8 is legit
This commit is contained in:
parent
2fde8725f6
commit
6626c0425a
1 changed files with 3 additions and 1 deletions
|
@ -22,7 +22,9 @@ def main(input, output, fields_to_remove):
|
|||
if any_removed:
|
||||
dep["version"] = "*"
|
||||
|
||||
json.dump(data, output, separators=(",", ":"))
|
||||
# Set ensure_ascii to False because TOML is valid UTF-8 so text that can't
|
||||
# be represented in ASCII is perfectly legitimate
|
||||
json.dump(data, output, separators=(",", ":"), ensure_ascii=False)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Add table
Reference in a new issue