stop useless wait

This commit is contained in:
Mayeul Aubin 2025-04-16 21:05:28 +02:00
parent cfb14571e8
commit 1b6f67a671

View file

@ -237,7 +237,6 @@ def progress_bar_from_logfile(filename:str, desc:str="", verbose:int=1, **kwargs
k=0 k=0
limit=600 limit=600
update_interval=0.2 update_interval=0.2
sleep(2) # Wait for the process to be launched, and for the previous log file to be overwritten if necessary.
wait_until_file_exists(filename, verbose=verbose, limit=limit) wait_until_file_exists(filename, verbose=verbose, limit=limit)
current_operation, total_operations = get_progress_from_logfile(filename) current_operation, total_operations = get_progress_from_logfile(filename)
previous_operation = 0 previous_operation = 0