Skip to content

Commit

Permalink
Fix infinite recursion
Browse files Browse the repository at this point in the history
Co-authored-by: Evan Finken <[email protected]>
  • Loading branch information
simonottenhauskenbun and evfinkn authored Apr 17, 2024
1 parent cc5b190 commit f81a75a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyannote/core/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def itertracks(

def itertracks_with_labels(self) -> Iterator[SegmentTrackLabel]:
"""Typed version of :func:`itertracks`(yield_label=True)"""
return self.itertracks_with_labels() # type: ignore
return self.itertracks(yield_label=True) # type: ignore

def itertracks_without_labels(self) -> Iterator[SegmentTrack]:
"""Typed version of :func:`itertracks`(yield_label=False)"""
Expand Down

0 comments on commit f81a75a

Please sign in to comment.