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 from six import string_types
def freeze(o): def freeze(o):
if isinstance(o, dict): if isinstance(o, dict):
return frozendict({k: freeze(v) for k, v in o.items()}) return frozendict({k: freeze(v) for k, v in o.items()})