Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jxxghp committed Sep 10, 2024
1 parent 8a6ad03 commit 1a1318b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/core/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,8 @@ def __get_plugin_info(market: str, version: str = None) -> Optional[List[schemas
"""
online_plugins = self.pluginhelper.get_plugins(repo_url=market, version=version) or {}
if not online_plugins:
logger.warn(f"获取插件库失败:{market}")
if not version:
logger.warn(f"获取插件库失败:{market}")
return
ret_plugins = []
add_time = len(online_plugins)
Expand Down

0 comments on commit 1a1318b

Please sign in to comment.