mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 17:34:00 +01:00
Fix indent
This commit is contained in:
parent
f093873d69
commit
01fc3943f1
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue