try to relauch failed worker

This commit is contained in:
Jean-Marie Mineau 2025-05-22 09:51:26 +02:00
parent 3756351ed9
commit 84ddfc718c
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2

View file

@ -357,7 +357,8 @@ def worker(emu: str, apklist: queue.Queue[str], out_folder: Path, script: Path):
fp.write("\n".join(traceback.format_exception(e)))
if not marked_done:
apklist.task_done()
raise e
if not apklist.empty():
worker(emu, apklist, out_folder, script)
def run(apklist: list[str], out_folder: Path, script: Path):