From c1d5e59e795c3697042380b56e67c105d650f535 Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Tue, 6 Aug 2024 21:30:55 +0330 Subject: [PATCH] Update URI --- core/cli.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/cli.py b/core/cli.py index 39ed7f9..0b25b4c 100644 --- a/core/cli.py +++ b/core/cli.py @@ -197,11 +197,7 @@ def show_user_uri(username: str, qrcode: bool, ipv: int, all: bool): else: command_args.extend(['-ip', str(ipv)]) - try: - result = subprocess.check_output(command_args, shell=False, text=True) - print(result.strip()) - except subprocess.CalledProcessError as e: - print(f"Error: {e.output.strip()}") + run_cmd(command_args) @ cli.command('traffic-status')