Skip to content

Commit

Permalink
Use tuple for code consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
DriesDeprest committed Dec 11, 2023
1 parent 91ebd73 commit ed5c72e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kloppy/infra/serializers/event/opta/deserializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ def _parse_duel(
raw_qualifiers: Dict[int, str], type_id: int, outcome: int
) -> Dict:
qualifiers = _get_event_qualifiers(raw_qualifiers)
if type_id in [EVENT_TYPE_TACKLE, EVENT_TYPE_CHALLENGE]:
if type_id in (EVENT_TYPE_TACKLE, EVENT_TYPE_CHALLENGE):
qualifiers.extend(
[
DuelQualifier(value=DuelType.GROUND),
Expand Down

0 comments on commit ed5c72e

Please sign in to comment.