Skip to content

Commit

Permalink
merge: PR #151 from dev
Browse files Browse the repository at this point in the history
Weekly release 2024-01-15
  • Loading branch information
alycejenni authored Jan 15, 2024
2 parents 715fc07 + 67adbf5 commit 15f293d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ def _extract_ext(subdict):
ext_extracted = [_extract_ext(x) for x in v]
elif isinstance(v, dict):
ext_extracted = [_extract_ext(v)]
elif v is None:
# skip if empty
ext_extracted = []
else:
ext_extracted = [_extract_ext({k: v})]
ext[extension_map[k]] = ext_extracted
Expand Down

0 comments on commit 15f293d

Please sign in to comment.