弹幕异常时,不添加弹幕

This commit is contained in:
Jerry Yan 2022-05-04 08:37:32 +08:00
parent 957f06cd77
commit 9ad916aaea

View File

@ -106,7 +106,7 @@ def collect_danmaku_files(workflow: Optional[Workflow]):
try: try:
start_time_ts = get_file_start(danmaku_file) start_time_ts = get_file_start(danmaku_file)
except DanmakuException: except DanmakuException:
start_time_ts = None continue
danmaku = DanmakuClip() danmaku = DanmakuClip()
danmaku.file = relpath danmaku.file = relpath
danmaku.base_path = BILILIVE_RECORDER_DIRECTORY danmaku.base_path = BILILIVE_RECORDER_DIRECTORY