mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 22:29:24 -05:00
Remove wrong comment
This commit is contained in:
parent
ba48755d56
commit
5b631ff41a
@ -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…
Reference in New Issue
Block a user