0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-19 07:43:58 +01:00
This commit is contained in:
Adrian Tschira 2018-05-29 17:35:55 +02:00
parent 4ee4450d66
commit 7873cde526

View file

@ -18,6 +18,7 @@ import simplejson as json
from six import string_types
def freeze(o):
if isinstance(o, dict):
return frozendict({k: freeze(v) for k, v in o.items()})