From 584e846074ccebb94f99ecc946400001fd555339 Mon Sep 17 00:00:00 2001 From: Jeremy Lacomis Date: Thu, 29 Sep 2022 09:58:50 -0400 Subject: [PATCH] Fix bug that causes #10 --- binary/dire_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binary/dire_types.py b/binary/dire_types.py index 6c29a63..3770e42 100644 --- a/binary/dire_types.py +++ b/binary/dire_types.py @@ -917,7 +917,7 @@ def _from_json(cls, d: t.Dict[str, t.Any]) -> "Union": def _to_json(self) -> t.Dict[str, t.Any]: return { - "T": 8, + "T": 7, "n": self.name, "m": [m._to_json() for m in self.members], "p": self.padding,