aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yt_dlp/webvtt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/webvtt.py b/yt_dlp/webvtt.py
index 596e9bf73..c80c58631 100644
--- a/yt_dlp/webvtt.py
+++ b/yt_dlp/webvtt.py
@@ -286,8 +286,8 @@ class CueBlock(Block):
m1 = parser.consume(_REGEX_TS)
if not m1:
return None
- parser.consume(_REGEX_OPTIONAL_WHITESPACE)
m2 = parser.consume(cls._REGEX_SETTINGS)
+ parser.consume(_REGEX_OPTIONAL_WHITESPACE)
if not parser.consume(_REGEX_NL):
return None