From be7885e7cce6654951c2aadf62b67dfb811d489c Mon Sep 17 00:00:00 2001 From: Pieter Robberechts Date: Sun, 14 Jan 2024 18:02:54 +0100 Subject: [PATCH] linting --- kloppy/infra/serializers/event/sportec/deserializer.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kloppy/infra/serializers/event/sportec/deserializer.py b/kloppy/infra/serializers/event/sportec/deserializer.py index 2507484a..5f43ff37 100644 --- a/kloppy/infra/serializers/event/sportec/deserializer.py +++ b/kloppy/infra/serializers/event/sportec/deserializer.py @@ -112,10 +112,7 @@ def sportec_metadata_from_xml_elm(match_root) -> SportecMetadata: if not away_team: raise DeserializationError("Away team is missing from metadata") - ( - home_score, - away_score, - ) = match_root.MatchInformation.General.attrib[ + (home_score, away_score,) = match_root.MatchInformation.General.attrib[ "Result" ].split(":") score = Score(home=int(home_score), away=int(away_score))