From 5c03653f3f1ebb0e30a2d6264ee82ebfcda5fb57 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 6 Mar 2019 07:18:26 +1000 Subject: [PATCH] keep json in utils for add-on compat https://anki.tenderapp.com/discussions/beta-testing/1399-anki-2110-beta#comment_47036452 --- anki/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/anki/utils.py b/anki/utils.py index 726d1563f..6272a8580 100644 --- a/anki/utils.py +++ b/anki/utils.py @@ -18,9 +18,11 @@ from hashlib import sha1 import platform import traceback from contextlib import contextmanager - from anki.lang import _, ngettext +# some add-ons expect json to be in the utils module +import json # pylint: disable=unused-import + # Time handling ##############################################################################