Skip to content

Commit

Permalink
Entry point name must be named argument (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgaughan authored Aug 18, 2024
1 parent 7513f44 commit c858d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/uwhoisd/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def get_cache(cfg):
if cache_name == "null":
logger.info("Caching deactivated")
return None
for ep in metadata.entry_points("uwhoisd.cache"):
for ep in metadata.entry_points(name="uwhoisd.cache"):
if ep.name == cache_name:
logger.info("Using cache '%s' with the parameters %r", cache_name, cfg)
cache_type = ep.load()
Expand Down

0 comments on commit c858d3e

Please sign in to comment.