Don't memoize functions called only once
MODIFY
plex_trakt_sync/plex_api.py
plex_trakt_sync/plex_api.py
@@ -171,7 +171,6 @@ class PlexApi:
def __init__(self, plex):
self.plex = plex
- @memoize
def movie_sections(self, library=None):
result = []
for section in self.library_sections:
@@ -183,7 +182,6 @@ def movie_sections(self, library=None):
return result
- @memoize
def show_sections(self, library=None):
result = []
for section in self.library_sections:

Don't memoize functions called only once