From 13f885fff87d431d516abbf614b9500174f39b00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 1 May 2024 08:21:24 +0300 Subject: [PATCH] Cleanup keep_watched from plugin --- plextraktsync/sync/TraktListsPlugin.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/plextraktsync/sync/TraktListsPlugin.py b/plextraktsync/sync/TraktListsPlugin.py index a2b85db644f..51aa2e04ee1 100644 --- a/plextraktsync/sync/TraktListsPlugin.py +++ b/plextraktsync/sync/TraktListsPlugin.py @@ -16,8 +16,7 @@ class TraktListsPlugin: """ logger = logging.getLogger(__name__) - def __init__(self, keep_watched: bool): - self.keep_watched = keep_watched + def __init__(self): self.trakt_lists = None @staticmethod @@ -30,10 +29,8 @@ def enabled(config): ]) @classmethod - def factory(cls, sync: Sync): - return cls( - sync.config.liked_lists_keep_watched, - ) + def factory(cls, sync): + return cls() @hookimpl(trylast=True) def init(self, pm: SyncPluginManager, sync: Sync):