From 152a87d109e5857484bb2f8c3b5437efc6ccaef5 Mon Sep 17 00:00:00 2001 From: thsrite Date: Wed, 17 Jan 2024 10:14:49 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=A7=A3=E5=86=B3=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E4=BE=9D=E8=B5=96=E5=AE=89=E8=A3=85=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/helper/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helper/plugin.py b/app/helper/plugin.py index 4386c198..79509b31 100644 --- a/app/helper/plugin.py +++ b/app/helper/plugin.py @@ -147,5 +147,5 @@ class PluginHelper(metaclass=Singleton): # 插件目录下如有requirements.txt则安装依赖 requirements_file = plugin_dir / "requirements.txt" if requirements_file.exists(): - SystemUtils.execute(f"pip install -r {requirements_file}") + SystemUtils.execute(f"pip install -r {requirements_file} > /dev/null 2>&1") return True, ""