Use config.sync property
MODIFY
plextraktsync/sync.py
plextraktsync/sync.py
@@ -95,7 +95,7 @@ def need_library_walk(self):
class Sync:
def __init__(self, config: Config, plex: PlexApi, trakt: TraktApi):
- self.config = SyncConfig(config)
+ self.config = config.sync
self.plex = plex
self.trakt = trakt

Use config.sync property