Skip to content

Commit

Permalink
update restart.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Jan 22, 2025
1 parent d014615 commit 7d897e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bot/modules/restart.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ async def confirm_restart(_, query):
"--break-system-packages",
"--upgrade",
)
await gather(proc1.wait(), proc2.wait(), proc3.wait())
await gather(proc1.wait(), proc2.wait())
await proc3.wait()
async with aiopen(".restartmsg", "w") as f:
await f.write(f"{restart_message.chat.id}\n{restart_message.id}\n")
osexecl(executable, executable, "-m", "bot")
Expand Down

0 comments on commit 7d897e9

Please sign in to comment.