From cc38cc26760d42d3b557974e0d6bf00b76271ad0 Mon Sep 17 00:00:00 2001 From: LINSTCL Date: Thu, 23 Mar 2023 16:43:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 1c0b6c55..71bbbd28 100644 --- a/main.py +++ b/main.py @@ -247,6 +247,8 @@ def start(first_time_init=False): "捕捉到未知异常:{}, 请前往 https://github.com/RockChinQ/QChatGPT/issues 查找或提issue".format(e)) known_exception_caught = True raise e + finally: + time.sleep(12) threading.Thread( target=run_bot_wrapper ).start()