Skip to content

Commit

Permalink
Update src/edutap/wallet_google/plugins.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Jan 29, 2025
1 parent 4e83206 commit bd7492a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edutap/wallet_google/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_image_providers() -> list[ImageProvider]:

def get_callback_handlers() -> list[CallbackHandler]:
eps = entry_points(group="edutap.wallet_google.plugins")
plugins = [ep.load() for ep in eps if "CallbackHandler" in ep.name]
plugins = [ep.load() for ep in eps if ep.name.startswith("CallbackHandler")]
if not plugins:
raise NotImplementedError("No callback handler plugin found.")
for plugin in plugins:
Expand Down

0 comments on commit bd7492a

Please sign in to comment.