mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
feat(biliVideos): 移除调试打印语句
fix(check): 更新重启成功提示信息
This commit is contained in:
parent
c8c92d01a8
commit
0f4de05c15
2 changed files with 1 additions and 4 deletions
|
|
@ -36,9 +36,6 @@ if not os.path.exists('bili.cookie'):
|
|||
# f.write(f"{cookie.name}={cookie.value}; ")
|
||||
|
||||
cookies = pickle.load(open('bili.cookie', 'rb'))
|
||||
print("bilicookie")
|
||||
print(cookies)
|
||||
print("---end---")
|
||||
# with open('bili.cookie', 'r') as f:
|
||||
# cookies = f.read()
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ async def handle_function(message: MessageEvent):
|
|||
|
||||
return_code = os.system("python ./update_remote_code.py")
|
||||
if return_code == 0:
|
||||
await restart.finish("重启成功")
|
||||
await restart.finish("重启成功,请10s后再试。")
|
||||
else:
|
||||
await restart.finish("重启失败")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue