From 09500557c8c1e2e89769b0ad2846515b957a6446 Mon Sep 17 00:00:00 2001 From: simon Date: Fri, 11 Feb 2022 18:47:29 +0700 Subject: [PATCH] open fail on subtitle line parse error --- tubearchivist/home/src/index/video.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tubearchivist/home/src/index/video.py b/tubearchivist/home/src/index/video.py index d74b660..52735b0 100644 --- a/tubearchivist/home/src/index/video.py +++ b/tubearchivist/home/src/index/video.py @@ -201,8 +201,7 @@ class SubtitleParser: try: self.all_text_lines.remove(line) except ValueError: - print("failed to process:") - print(line) + continue self.matched.append(new_cue)