Skip to content

Commit

Permalink
Fix usage of importlib.metadata.entry_points()
Browse files Browse the repository at this point in the history
  • Loading branch information
pylipp committed Jun 3, 2024
1 parent 85ef1a1 commit 62c9859
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion financeager/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ def main():
# Adding the FileHandler here avoids cluttering the log during tests
setup_log_file_handler()

plugins = [ep.load()() for ep in entry_points(group="financeager.services")]
plugins = [
ep.load()() for ep in entry_points().select(group="financeager.services")
]

args = _parse_command(plugins=plugins)
try:
Expand Down

0 comments on commit 62c9859

Please sign in to comment.