From 67d8284a3327993ebfa60733e4d516d88d52830e Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 16 Dec 2019 17:54:40 +1000 Subject: [PATCH] mpv was passing separators incorrectly and unnecessarily --- anki/mpv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anki/mpv.py b/anki/mpv.py index 872444051..13267deb0 100644 --- a/anki/mpv.py +++ b/anki/mpv.py @@ -253,7 +253,7 @@ class MPVBase: """Return a json representation from a message dictionary. """ # XXX may be strict is too strict ;-) - data = json.dumps(message, separators=",:") + data = json.dumps(message) return data.encode("utf8", "strict") + b"\n" def _parse_message(self, data):