修复打包后的报错

This commit is contained in:
John Smith 2023-09-10 09:48:12 +08:00
parent a35d7a5bfc
commit 926ee879a6
2 changed files with 3 additions and 2 deletions

View File

@ -65,7 +65,7 @@ translation_cache_size = 50000
open_live_access_key_id =
open_live_access_key_secret =
# 在B站直播开放平台创建的项目ID如果不填会把请求转发到作者的服务器
open_live_app_id =
open_live_app_id = 0
# 翻译器配置,索引到下面的配置节。可以以逗号分隔配置多个翻译器,翻译时会自动负载均衡

View File

@ -5,6 +5,7 @@ import logging
import logging.handlers
import os
import signal
import sys
import webbrowser
from typing import *
@ -164,4 +165,4 @@ async def shut_down():
if __name__ == '__main__':
exit(asyncio.run(main()))
sys.exit(asyncio.run(main()))