Closed stapelberg closed 1 year ago
same problem here
diff --git a/simplify.py b/simplify.py
index b8e7357..1653d24 100644
--- a/simplify.py
+++ b/simplify.py
@@ -24,8 +24,9 @@ values['name'] = '>'
def flatten(d):
vals = []
for k, v in d.items():
- v['name'] = k
- vals.append(v)
+ if isinstance(v, dict):
+ v['name'] = k
+ vals.append(v)
return vals
def transform(d):
Great work, thanks for sharing!
When trying to use the tools for my own programs, I’m getting the following error:
I tracked it down to the following symtab line: