Skip to content

Commit

Permalink
fix json dumps in server.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RexWzh authored Jan 13, 2025
1 parent affc15a commit ee9e70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pantograph/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def run(self, cmd, payload):
:meta private:
"""
assert self.proc
s = json.dumps(payload)
s = json.dumps(payload, ensure_ascii=False)
self.proc.sendline(f"{cmd} {s}")
try:
line = self.proc.readline()
Expand Down

0 comments on commit ee9e70b

Please sign in to comment.