mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-30 11:36:15 -05:00
Fix indent
This commit is contained in:
parent
f093873d69
commit
01fc3943f1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user