Change factory.walker to property
MODIFY
plextraktsync/commands/sync.py
plextraktsync/commands/sync.py
@@ -36,7 +36,7 @@ def sync(
)
ensure_login()
wc = factory.walk_config.update(movies=movies, shows=shows)
- w = factory.walker()
+ w = factory.walker
if ids:
for id in ids:

MODIFY
plextraktsync/factory.py
plextraktsync/factory.py
@@ -116,7 +116,7 @@ def plex_audio_codec(self):
return PlexAudioCodec()
- @memoize
+ @cached_property
def walker(self):
from plextraktsync.walker import Walker

Change factory.walker to property