From e354c75637c1d40517c37094ade4b5456844e55f Mon Sep 17 00:00:00 2001 From: hyh Date: Thu, 7 Aug 2025 15:34:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=95=E7=94=A8=E7=A9=BA?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/run.py b/run.py index 5e96211..140a6f8 100644 --- a/run.py +++ b/run.py @@ -2,13 +2,17 @@ """ TermControlAgent 启动脚本 """ -import os +import warnings import sys +import os import argparse from app.core.app import create_app, create_development_app, create_production_app from app.core.config import config from app.utils.log import get_enhanced_logger, LogLevel +# 忽略paramiko的弃用警告 +warnings.filterwarnings("ignore", category=DeprecationWarning, module="paramiko") + logger = get_enhanced_logger(__name__, LogLevel.INFO)