Skip to content

Commit

Permalink
Remove iter and len from PlexLibrarySection
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 15, 2024
1 parent 69ee3c0 commit f9bfc2f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plextraktsync/plex/PlexLibrarySection.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ def __init__(self, section: ShowSection | MovieSection, plex: PlexApi = None):
self.section = section
self.plex = plex

def __len__(self):
return self.section.totalSize

def __iter__(self):
return self.items(len(self))

def pager(self, libtype: Literal["episode"] = None):
from plextraktsync.plex.PlexSectionPager import PlexSectionPager

Expand Down

0 comments on commit f9bfc2f

Please sign in to comment.