diff --git a/main.py b/main.py index e3c9b70..0c93b7c 100644 --- a/main.py +++ b/main.py @@ -500,9 +500,7 @@ def main(driver: WebDriver): tell('写入文件时发生了错误', e, level=0) if status.isalive(): outbox.put(Command('setStatus', 'FINISH')) - else: break - - return 0 + else: return 0 async def handler(request: ws.WebSocketRequest): global connection