From c82e11ace687e9a01c3ca5d172d56ad7713b8d4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 14 Jan 2024 22:40:25 +0200 Subject: [PATCH] Remove iter and len from PlexLibrarySection --- plextraktsync/plex/PlexLibrarySection.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plextraktsync/plex/PlexLibrarySection.py b/plextraktsync/plex/PlexLibrarySection.py index 31f7a001a32..45d1f6fcaab 100644 --- a/plextraktsync/plex/PlexLibrarySection.py +++ b/plextraktsync/plex/PlexLibrarySection.py @@ -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