Skip to content

Commit

Permalink
fix: support None typed serialization configuration instead of dict t…
Browse files Browse the repository at this point in the history
…ype only
  • Loading branch information
micha91 authored and ewuerger committed Feb 29, 2024
1 parent 21e56b3 commit 73747b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capella2polarion/converters/converter_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,6 @@ def _force_dict(
case list():
return {c: {} for c in config}
case dict():
return config
return {k: v or {} for k, v in config.items()}
case _:
raise TypeError("Unsupported Type")

0 comments on commit 73747b7

Please sign in to comment.