mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +00:00
open fail on subtitle line parse error
This commit is contained in:
parent
7524691b79
commit
09500557c8
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user