mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 15:38:19 +08:00
fix bug
This commit is contained in:
@@ -497,6 +497,7 @@ def uninstall_plugin(plugin_id: str,
|
|||||||
if plugin_base_dir.exists():
|
if plugin_base_dir.exists():
|
||||||
try:
|
try:
|
||||||
shutil.rmtree(plugin_base_dir)
|
shutil.rmtree(plugin_base_dir)
|
||||||
|
plugin_manager.plugins.pop(plugin_id, None)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"删除插件分身目录 {plugin_base_dir} 失败: {str(e)}")
|
logger.error(f"删除插件分身目录 {plugin_base_dir} 失败: {str(e)}")
|
||||||
# 移除插件
|
# 移除插件
|
||||||
|
|||||||
Reference in New Issue
Block a user