mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
Merge e4537e7f8f into 3cc882b116
This commit is contained in:
commit
5d85fe7bba
@ -287,7 +287,7 @@ class StoreManager:
|
|||||||
files = [RepoFileInfo(path=f"{replace_module_path}.py", is_dir=False)]
|
files = [RepoFileInfo(path=f"{replace_module_path}.py", is_dir=False)]
|
||||||
if not is_external:
|
if not is_external:
|
||||||
target_dir = BASE_PATH
|
target_dir = BASE_PATH
|
||||||
elif is_dir:
|
elif is_dir and module_path == ".":
|
||||||
target_dir = BASE_PATH / "plugins" / plugin_name
|
target_dir = BASE_PATH / "plugins" / plugin_name
|
||||||
else:
|
else:
|
||||||
target_dir = BASE_PATH / "plugins"
|
target_dir = BASE_PATH / "plugins"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user