0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-26 06:28:20 +02:00

Remove FrozenEncoder

This commit is contained in:
Erik Johnston 2014-12-16 13:38:38 +00:00
parent 8133cdcc88
commit 58168498b0

View file

@ -46,11 +46,3 @@ def unfreeze(o):
pass
return o
class FrozenEncoder(json.JSONEncoder):
def default(self, o):
if isinstance(o, frozendict):
return dict(o)
return json.JSONEncoder(self, o)