Skip to content

Commit

Permalink
Cleanup keep_watched from plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed May 1, 2024
1 parent d7bc315 commit 13f885f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions plextraktsync/sync/TraktListsPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down

0 comments on commit 13f885f

Please sign in to comment.