From 3572a99cc04e0e11ef4e18cc3883df4262f48935 Mon Sep 17 00:00:00 2001 From: ASF-Nabd Date: Mon, 5 Jan 2026 10:53:17 +0000 Subject: [PATCH] Update app/routes/jobs.py --- app/routes/jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/jobs.py b/app/routes/jobs.py index 921ec6a..6413482 100644 --- a/app/routes/jobs.py +++ b/app/routes/jobs.py @@ -186,7 +186,7 @@ def submit_step1(): # If successful, run scenario scan to get available scenarios print(f"[DEBUG] Running scenario scan...") - scan_cmd = f"sshpass -p '{ssh_password}' ssh {ssh_options} {ssh_user}@{ssh_host} 'python3 TPF/Sensor_hub_repo/Tools/TPF/scenario_scan.py'" + scan_cmd = f"sshpass -p '{ssh_password}' ssh {ssh_options} {ssh_user}@{ssh_host} 'python3 /home/asf/testarena_backend/TPF/Sensor_hub_repo/tools/TPF/scenario_scan.py'" print(f"[DEBUG] Executing scan command: {scan_cmd.replace(ssh_password, '***')}") scan_result = subprocess.run(scan_cmd, shell=True, capture_output=True, text=True, timeout=120)