From bcf4c8d0bf3e3312adc23d8a3b9c0bf9fcc9749a Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 15 Nov 2024 01:15:51 +0100 Subject: [PATCH] nits logs --- backend/windmill-worker/src/python_executor.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/windmill-worker/src/python_executor.rs b/backend/windmill-worker/src/python_executor.rs index c2b5dce572..97ae820afc 100644 --- a/backend/windmill-worker/src/python_executor.rs +++ b/backend/windmill-worker/src/python_executor.rs @@ -1153,7 +1153,11 @@ pub async fn handle_python_reqs( for (req, venv_p) in req_with_penv { let mut logs1 = String::new(); - logs1.push_str("\n\n--- UV PIP INSTALL ---\n"); + if no_uv_install { + logs1.push_str("\n\n--- PIP INSTALL ---\n"); + } else { + logs1.push_str("\n\n--- UV PIP INSTALL ---\n"); + } logs1.push_str(&format!("\n{req} is being installed for the first time.\n It will be cached for all ulterior uses.")); append_logs(&job_id, w_id, logs1, db).await;