mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 13:03:28 +00:00
Fix indent
This commit is contained in:
1 parent
f093873d69
commit
01fc3943f1
1 file changed
+1
-1
@@ -35,7 +35,7 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
def encode_json(json_object):
|
||||
if USE_FROZEN_DICTS:
|
||||
# ujson doesn't like frozen_dicts
|
||||
# ujson doesn't like frozen_dicts
|
||||
return encode_canonical_json(json_object)
|
||||
else:
|
||||
return json.dumps(json_object, ensure_ascii=False)
|
||||
|
||||
Reference in new issue
Block a user