From 779dc07c5f4fb3c721de9a9bbd4d26eb21997f6b Mon Sep 17 00:00:00 2001 From: liuwei Date: Wed, 4 Jun 2025 09:07:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96IO=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 4 ---- restart.sh | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/main.py b/main.py index 6165d33..056e8cc 100644 --- a/main.py +++ b/main.py @@ -137,10 +137,6 @@ def jobs(robot: Robot): logger.info("图片缓存更新完成") - @async_job.every_minutes(1) - async def check_open_files(): - os.open - if __name__ == "__main__": main() diff --git a/restart.sh b/restart.sh index eaa09e4..2fb7509 100644 --- a/restart.sh +++ b/restart.sh @@ -6,7 +6,7 @@ cd /home/liuwei/abot # 拉取最新代码 git pull origin feature-855 # 根据需要拉取对应的分支 #切换虚拟环境 -source venv/bin/activate +source .venv/bin/activate pip install -r requirements.txt