From 7ea66cbe8b2218dac0c22cf1fbcee5ccf41f4799 Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Thu, 28 Apr 2022 14:07:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=B9=E5=B9=95=E6=96=87=E4=BB=B6=E5=81=8F?= =?UTF-8?q?=E7=A7=BB=E8=BF=87=E5=A4=A7=EF=BC=8C=E4=B8=8D=E4=BA=88=E5=8E=8B?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- workflow/worker.py | 1 + 1 file changed, 1 insertion(+) diff --git a/workflow/worker.py b/workflow/worker.py index 6a364de..dbb265c 100644 --- a/workflow/worker.py +++ b/workflow/worker.py @@ -16,6 +16,7 @@ def do_workflow(video_file, danmaku_base_file, *danmaku_files): bias = diff_danmaku_files(danmaku_base_file, danmaku_file) if bias < -600: print("弹幕文件", danmaku_file, "反向偏移超过10分钟") + continue result.append(danmaku_to_subtitle(danmaku_file, bias)) except DanmakuException: print("弹幕文件", danmaku_file, "异常")