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