fix: 启动时的提示语判断不正确

This commit is contained in:
Rock Chin
2023-01-02 20:43:56 +08:00
parent 8aa1dd24ac
commit a4dc661cd4

View File

@@ -86,7 +86,10 @@ def main(first_time_init=False):
qq_bot_thread.start()
time.sleep(2)
logging.info('程序启动完成', ',如长时间未显示 ”成功登录到账号xxxxx“ ,并且不回复消息,请查看 https://github.com/RockChinQ/QChatGPT/issues/37' if first_time_init else '')
if first_time_init:
logging.info('程序启动完成,如长时间未显示 ”成功登录到账号xxxxx“ ,并且不回复消息,请查看 https://github.com/RockChinQ/QChatGPT/issues/37')
else:
logging.info('热重载完成')
while True:
try: