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 f0346b4 commit e61640a
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 @@ -31,7 +31,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)

# Skip updating lists if it's empty
add_to_lists = not trakt_lists.is_empty
Expand Down

0 comments on commit e61640a

Please sign in to comment.