Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
bowenliang123 committed Nov 29, 2024
1 parent 99f85e2 commit 5ef6aa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def initialize_extensions(app: DifyApp):
ext_commands,
]
for ext in extensions:
short_name = ext.__name__.split(".")[1]
short_name = ext.__name__.split(".")[-1]
is_enabled = ext.is_enabled() if hasattr(ext, "is_enabled") else True
if not is_enabled:
if dify_config.DEBUG:
Expand Down

0 comments on commit 5ef6aa0

Please sign in to comment.