Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
probberechts committed Jan 14, 2024
1 parent 3ffe1ad commit be7885e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions kloppy/infra/serializers/event/sportec/deserializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit be7885e

Please sign in to comment.