mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
mpv was passing separators incorrectly and unnecessarily
This commit is contained in:
parent
d4145d1f04
commit
67d8284a33
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ class MPVBase:
|
||||||
"""Return a json representation from a message dictionary.
|
"""Return a json representation from a message dictionary.
|
||||||
"""
|
"""
|
||||||
# XXX may be strict is too strict ;-)
|
# XXX may be strict is too strict ;-)
|
||||||
data = json.dumps(message, separators=",:")
|
data = json.dumps(message)
|
||||||
return data.encode("utf8", "strict") + b"\n"
|
return data.encode("utf8", "strict") + b"\n"
|
||||||
|
|
||||||
def _parse_message(self, data):
|
def _parse_message(self, data):
|
||||||
|
|
Loading…
Reference in a new issue