From dee8cb4da773bd3df7cb080936776299f8649b7c Mon Sep 17 00:00:00 2001 From: Koen Vossen Date: Thu, 19 Nov 2020 14:32:27 +0100 Subject: [PATCH] fix --- docs/changelog.md | 6 ++++++ kloppy/infra/serializers/event/sportec/serializer.py | 2 +- setup.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/changelog.md b/docs/changelog.md index 0a3043b9..f9e1ecad 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -2,6 +2,12 @@ Find out all changes between different kloppy versions +## 1.4.1 (2020-11-19) + +Bugfix: + +- Sportec: insert BALL_OUT event before corner kick + ## 1.4.0 (2020-11-19) Pull requests merged: diff --git a/kloppy/infra/serializers/event/sportec/serializer.py b/kloppy/infra/serializers/event/sportec/serializer.py index 7ebe4e6d..f2b9726b 100644 --- a/kloppy/infra/serializers/event/sportec/serializer.py +++ b/kloppy/infra/serializers/event/sportec/serializer.py @@ -446,7 +446,7 @@ def deserialize( if ( event.event_type == EventType.PASS and event.get_qualifier_value(SetPieceQualifier) - in (SetPieceType.THROW_IN, SetPieceType.GOAL_KICK) + in (SetPieceType.THROW_IN, SetPieceType.GOAL_KICK, SetPieceType.CORNER_KICK) ): # 1. update previous pass if events[-1].event_type == EventType.PASS: diff --git a/setup.py b/setup.py index 0e673a78..bcca66aa 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ setup( name="kloppy", - version="1.4.0", + version="1.4.1", author="Koen Vossen", author_email="info@koenvossen.nl", url="https://kloppy.pysport.org/",