Skip to content

Commit

Permalink
Pass pm to pm.hook.init
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Apr 28, 2024
1 parent 816f1d9 commit 198e5e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plextraktsync/sync/Sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def sync(self, walker: Walker, dry_run=False):
pm = SyncPluginManager()
pm.register_plugins(self)

pm.hook.init(sync=self, trakt_lists=trakt_lists, is_partial=is_partial, dry_run=dry_run)
pm.hook.init(sync=self, pm=pm, trakt_lists=trakt_lists, is_partial=is_partial, dry_run=dry_run)

if self.config.need_library_walk:
for movie in walker.find_movies():
Expand Down

0 comments on commit 198e5e0

Please sign in to comment.