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
1 changed files with 1 additions and 2 deletions

View File

@ -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)