[SLL] Last beauty change
This commit is contained in:
@@ -260,3 +260,4 @@ TreeLib.execute_task_with_spinner("Copying Fast init configs",copy_fast_init,ind
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@ def execute_task_with_spinner(label, task_fn, *args, indent=0, **kwargs):
|
|||||||
Executes task_fn(*args, **kwargs) in a background thread while displaying an
|
Executes task_fn(*args, **kwargs) in a background thread while displaying an
|
||||||
animated spinner or progress updates next to the label.
|
animated spinner or progress updates next to the label.
|
||||||
"""
|
"""
|
||||||
prefix = " " * indent + "|-> " if indent > 0 else ""
|
prefix = " " * indent + " ╰──> " if indent > 0 else ""
|
||||||
full_prefix = f"{prefix}{label} "
|
full_prefix = f"{prefix}{label} "
|
||||||
|
|
||||||
with ThreadPoolExecutor(max_workers=1) as executor:
|
with ThreadPoolExecutor(max_workers=1) as executor:
|
||||||
|
|||||||
Reference in New Issue
Block a user