Skip to content

Commit

Permalink
fix(config): entries object does not exist in python3.9 code
Browse files Browse the repository at this point in the history
  • Loading branch information
benatouba committed Nov 23, 2024
1 parent 739888a commit b6ea834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cosipy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def get_entry_points(package_name: str = "cosipy"):
if sys.version_info >= (3, 10):
entries = entry_points(group="console_scripts")
else:
entries = entries["console_scripts"]
entries = entry_points()["console_scripts"]
entrypoints = (
ep
for ep in entries
Expand Down

0 comments on commit b6ea834

Please sign in to comment.