[webvtt] Fix 15f22b4880
This commit is contained in:
parent
d5d1517e7d
commit
298230e550
1 changed files with 1 additions and 1 deletions
|
@ -286,8 +286,8 @@ class CueBlock(Block):
|
||||||
m1 = parser.consume(_REGEX_TS)
|
m1 = parser.consume(_REGEX_TS)
|
||||||
if not m1:
|
if not m1:
|
||||||
return None
|
return None
|
||||||
parser.consume(_REGEX_OPTIONAL_WHITESPACE)
|
|
||||||
m2 = parser.consume(cls._REGEX_SETTINGS)
|
m2 = parser.consume(cls._REGEX_SETTINGS)
|
||||||
|
parser.consume(_REGEX_OPTIONAL_WHITESPACE)
|
||||||
if not parser.consume(_REGEX_NL):
|
if not parser.consume(_REGEX_NL):
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue