From d6e0e43e1a89e7a0c43aea24bb2160d68070d6d5 Mon Sep 17 00:00:00 2001 From: guochongling <2940397985@qq.com> Date: Fri, 3 Jan 2025 10:42:27 +0800 Subject: [PATCH] =?UTF-8?q?1.=E9=A3=9E=E7=89=9B=E8=87=AA=E5=8A=A8=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E8=B5=84=E6=BA=90-optimize?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/fnos.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/fnos.py b/plugins/fnos.py index 71d8782..b57cef3 100644 --- a/plugins/fnos.py +++ b/plugins/fnos.py @@ -218,4 +218,5 @@ class Fnos: print(f"{response}") except Exception as e: print(f"飞牛: 下载任务异常❌ {e}") - loop.run_until_complete(close_websocket(websocket)) \ No newline at end of file + finally: + loop.run_until_complete(close_websocket(websocket)) \ No newline at end of file