diff options
author | Erik Johnston <erik@matrix.org> | 2018-03-15 23:38:43 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-03-16 00:27:09 +0000 |
commit | a8ce159be43560e9aea8f3be65110eea49d1f50e (patch) | |
tree | f0efe7d92e993db0ac02cfb0e10d91329456bbab /synapse/storage | |
parent | Merge pull request #3003 from matrix-org/rav/fix_contributing (diff) | |
download | synapse-a8ce159be43560e9aea8f3be65110eea49d1f50e.tar.xz |
Replace some ujson with simplejson to make it work
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/events.py | 2 | ||||
-rw-r--r-- | synapse/storage/events_worker.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index 3890878170..9fc65229fd 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -38,7 +38,7 @@ from functools import wraps import synapse.metrics import logging -import ujson as json +import simplejson as json # these are only included to make the type annotations work from synapse.events import EventBase # noqa: F401 diff --git a/synapse/storage/events_worker.py b/synapse/storage/events_worker.py index 86c3b48ad4..2e23dd78ba 100644 --- a/synapse/storage/events_worker.py +++ b/synapse/storage/events_worker.py @@ -28,7 +28,7 @@ from synapse.api.errors import SynapseError from collections import namedtuple import logging -import ujson as json +import simplejson as json # these are only included to make the type annotations work from synapse.events import EventBase # noqa: F401 |