Skip to content

Commit

Permalink
fix(converter): Fix param is None error
Browse files Browse the repository at this point in the history
  • Loading branch information
ewuerger committed Feb 29, 2024
1 parent 21e56b3 commit 2246f94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capella2polarion/converters/element_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def serialize(self, uuid: str) -> data_models.CapellaWorkItem | None:
...,
data_models.CapellaWorkItem,
] = getattr(self, f"_{converter}")
serializer(converter_data, **params)
serializer(converter_data, **(params or {}))
except Exception as error:
converter_data.errors.add(error.args[0])
converter_data.work_item = None
Expand Down

0 comments on commit 2246f94

Please sign in to comment.