From d91c28db0a9a88c383b684d23843a5ae77603205 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 8 Jul 2024 15:43:23 +0100 Subject: [PATCH] add to done --- transcribe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transcribe.py b/transcribe.py index 9e91f66..1e1d408 100644 --- a/transcribe.py +++ b/transcribe.py @@ -102,8 +102,8 @@ def main(**kwargs): wait = True for item in queue.get_items(queue.user).all(): if extract_subtitles(item, user, layer, translate, kwargs.get("gpu")): + done.items.add(item) queue.items.remove(item) - done.items.remove(item) wait = False if wait: time.sleep(5*60)