From 12cc86a69acceb3905c85bee83109af43fd7d5ca Mon Sep 17 00:00:00 2001 From: Abhi <85984486+AbhiTheModder@users.noreply.github.com> Date: Mon, 17 Jun 2024 17:50:01 +0530 Subject: [PATCH] fix for termux --- modules/updater.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/updater.py b/modules/updater.py index 8988bf5..c5960cc 100644 --- a/modules/updater.py +++ b/modules/updater.py @@ -26,9 +26,11 @@ from utils.misc import modules_help, prefix, requirements_list from utils.db import db from utils.scripts import format_exc, restart + def check_command(command): return shutil.which(command) is not None + @Client.on_message(filters.command("restart", prefix) & filters.me) async def restart_cmd(_, message: Message): db.set(