From c75cd0740859ae7f0240e88dbf9bc194cf041005 Mon Sep 17 00:00:00 2001 From: R1kaB3rN <100738684+R1kaB3rN@users.noreply.github.com> Date: Fri, 11 Oct 2024 11:54:45 -0700 Subject: [PATCH] umu_runtime: remove directories sync --- umu/umu_runtime.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/umu/umu_runtime.py b/umu/umu_runtime.py index e0df0d6dd..4bf93712b 100644 --- a/umu/umu_runtime.py +++ b/umu/umu_runtime.py @@ -271,8 +271,8 @@ def _update_umu( log.debug("Acquired file lock '%s'", lock.lock_file) for file in local.glob("*"): if file.is_dir(): - thread_pool.submit(rmtree, str(file)) if file.is_file() and file != lock.lock_file: + rmtree(str(file)) file.unlink() _restore_umu( json, @@ -301,8 +301,8 @@ def _update_umu( log.debug("Acquired file lock '%s'", lock.lock_file) for file in local.glob("*"): if file.is_dir(): - thread_pool.submit(rmtree, str(file)) if file.is_file() and file != lock.lock_file: + rmtree(str(file)) file.unlink() _restore_umu( json,