added a .copy() to avoid "changed size" issue

This commit is contained in:
raphael60650 2021-06-19 13:15:41 +02:00
parent d356f8f250
commit 4d70a85fd3

View file

@ -77,7 +77,7 @@ def patch_track(self, tracks, total_track="?"):
def clean_process():
nonlocal error_count, error_max, process_list
for track_file, process in process_list.items():
for track_file, process in process_list.copy().items():
if process is not None:
if process.poll() is None:
pass # if the process is still running