diff --git a/program/updater.py b/program/updater.py index 3f78da5..4dfe00b 100644 --- a/program/updater.py +++ b/program/updater.py @@ -61,7 +61,7 @@ async def update_repo(_, message: Message): update_avail = updater() if update_avail: 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) 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)