mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-07 00:16:57 +00:00
Remove wrong comment
This commit is contained in:
parent
ba48755d56
commit
5b631ff41a
1 changed files with 0 additions and 1 deletions
|
@ -56,7 +56,6 @@ event_counter = metrics.register_counter(
|
||||||
|
|
||||||
def encode_json(json_object):
|
def encode_json(json_object):
|
||||||
if USE_FROZEN_DICTS:
|
if USE_FROZEN_DICTS:
|
||||||
# simplejson doesn't like frozen_dicts
|
|
||||||
return encode_canonical_json(json_object)
|
return encode_canonical_json(json_object)
|
||||||
else:
|
else:
|
||||||
return json.dumps(json_object, ensure_ascii=False)
|
return json.dumps(json_object, ensure_ascii=False)
|
||||||
|
|
Loading…
Add table
Reference in a new issue