diff --git a/kloppy/infra/serializers/event/wyscout/deserializer_v3.py b/kloppy/infra/serializers/event/wyscout/deserializer_v3.py index df08556b..1f7dc6a5 100644 --- a/kloppy/infra/serializers/event/wyscout/deserializer_v3.py +++ b/kloppy/infra/serializers/event/wyscout/deserializer_v3.py @@ -630,8 +630,6 @@ def deserialize(self, inputs: WyscoutInputs) -> EventDataset: ball_owning_team = teams[ str(raw_event["possession"]["team"]["id"]) ] - else: - ball_owning_team = team # TODO: this solve the issue of ball owning team when transforming to spald, but it's not correct generic_event_args = { "event_id": raw_event["id"],