Skip to content

Commit

Permalink
Add ahook to SyncPluginManager
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Apr 16, 2024
1 parent dbf5bbd commit 1a24890
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plextraktsync/sync/plugin/SyncPluginManager.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from functools import cached_property
from typing import TYPE_CHECKING

import pluggy
import apluggy as pluggy

from plextraktsync.factory import logging

Expand All @@ -23,6 +23,10 @@ def pm(self):

return pm

@cached_property
def ahook(self):
return self.pm.ahook

@cached_property
def hook(self):
return self.pm.hook
Expand Down

0 comments on commit 1a24890

Please sign in to comment.