Skip to content

Commit

Permalink
Fix return type of PlexLibraryItem.markers
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Mar 17, 2024
1 parent e606832 commit 60a36c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plextraktsync/plex/PlexLibraryItem.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from plextraktsync.util.Rating import Rating

if TYPE_CHECKING:
from plexapi.media import MediaPart
from plexapi.media import Marker, MediaPart

from plextraktsync.plex.PlexApi import PlexApi
from plextraktsync.plex.types import PlexMedia
Expand Down Expand Up @@ -167,7 +167,7 @@ def collected_at(self):
return self.date_value(self.item.addedAt)

@property
def markers(self) -> list[MediaPart]:
def markers(self) -> list[Marker]:
try:
return self.item.markers
except AttributeError:
Expand Down

0 comments on commit 60a36c9

Please sign in to comment.