fix forking workspace scripts on app incorrect path

This commit is contained in:
Ruben Fiszel
2023-07-13 11:25:06 +02:00
parent f539dbe298
commit 804317cf54
2 changed files with 5 additions and 2 deletions
@@ -232,6 +232,9 @@ pub async fn handle_python_job(
.replace("-", "_");
let dirs = if dirs_full.len() > 0 {
dirs_full
.strip_prefix("/")
.unwrap_or(&dirs_full)
.to_string()
} else {
"tmp".to_string()
};