add no cache install dependencies
This commit is contained in:
parent
b702cffd8e
commit
e91a065548
@ -61,7 +61,7 @@ async def update_repo(_, message: Message):
|
|||||||
update_avail = updater()
|
update_avail = updater()
|
||||||
if update_avail:
|
if update_avail:
|
||||||
await msg.edit("✅ update finished\n\n• bot restarted, back active again in 1 minutes.")
|
await msg.edit("✅ update finished\n\n• bot restarted, back active again in 1 minutes.")
|
||||||
system("git pull -f && pip3 install -r requirements.txt")
|
system("git pull -f && pip3 install --no-cache-dir -r requirements.txt")
|
||||||
execle(sys.executable, sys.executable, "main.py", environ)
|
execle(sys.executable, sys.executable, "main.py", environ)
|
||||||
return
|
return
|
||||||
await msg.edit("bot is **up-to-date** with [main](https://github.com/levina-lab/video-stream/tree/main)", disable_web_page_preview=True)
|
await msg.edit("bot is **up-to-date** with [main](https://github.com/levina-lab/video-stream/tree/main)", disable_web_page_preview=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user