Skip to content

Commit

Permalink
entry_points
Browse files Browse the repository at this point in the history
  • Loading branch information
luweizheng committed Jun 24, 2024
1 parent db45308 commit 5895176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/xoscar/entrypoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def init_extension_entrypoints():
"""
from importlib.metadata import entry_points

xoscar_entry_points = entry_point()["xoscar_extensions"]
xoscar_entry_points = entry_points()["xoscar_extensions"]
for entry_point in xoscar_entry_points:
if entry_point.name == "init":
logger.info("Loading extension: %s", entry_point)
Expand Down

0 comments on commit 5895176

Please sign in to comment.