fixing bug in whisper wnericher

pull/74/head
msramalho 2023-05-04 09:36:10 +01:00
rodzic 3bd6bed825
commit 8f3d4e05c3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -87,7 +87,7 @@ class WhisperEnricher(Enricher):
while not all_completed and (time.time() - start_time) <= self.timeout:
all_completed = True
for job_id in job_results:
if job_results[job_id]: continue
if job_results[job_id] != False: continue
all_completed = False # at least one not ready
try: job_results[job_id] = self.check_job(job_id)
except Exception as e: