open fail on subtitle line parse error

This commit is contained in:
simon 2022-02-11 18:47:29 +07:00
parent 7524691b79
commit 09500557c8
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -201,8 +201,7 @@ class SubtitleParser:
try: try:
self.all_text_lines.remove(line) self.all_text_lines.remove(line)
except ValueError: except ValueError:
print("failed to process:") continue
print(line)
self.matched.append(new_cue) self.matched.append(new_cue)