diff --git a/devine/core/tracks/chapters.py b/devine/core/tracks/chapters.py index 5a2aeb0..580786a 100644 --- a/devine/core/tracks/chapters.py +++ b/devine/core/tracks/chapters.py @@ -15,7 +15,7 @@ OGM_SIMPLE_LINE_2_FORMAT = re.compile(r"^CHAPTER(?P\d+)NAME=(?P.*) class Chapters(SortedKeyList, ABC): - def __init__(self, iterable: Optional[Iterable] = None): + def __init__(self, iterable: Optional[Iterable[Chapter]] = None): super().__init__(key=lambda x: x.timestamp or 0) for chapter in iterable or []: self.add(chapter)