From f6d73ed90f6246389cbf0a301add0edde2920eca Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Mon, 5 Aug 2024 12:55:41 +0330 Subject: [PATCH] Update command --- core/tbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tbot.py b/core/tbot.py index e084ae0..6985459 100644 --- a/core/tbot.py +++ b/core/tbot.py @@ -193,7 +193,7 @@ def process_delete_user(message): @bot.inline_handler(lambda query: is_admin(query.from_user.id)) def handle_inline_query(query): - command = "python3 /etc/hysteria/core/cli.py list-users" + command = f"python3 {CLI_PATH} list-users" result = run_cli_command(command) try: users = json.loads(result)