diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-05-20 03:06:23 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2023-05-20 04:23:41 +0530 |
commit | 6f2287cb18cbfb27518f068d868fa9390fee78ad (patch) | |
tree | 2f4323423a1f95373427f5fd2bbc0ebe0071427a /yt_dlp/jsinterp.py | |
parent | 1d7656184c6b8aa46b29149893894b3c24f1df00 (diff) | |
download | hypervideo-pre-6f2287cb18cbfb27518f068d868fa9390fee78ad.tar.lz hypervideo-pre-6f2287cb18cbfb27518f068d868fa9390fee78ad.tar.xz hypervideo-pre-6f2287cb18cbfb27518f068d868fa9390fee78ad.zip |
[cleanup] Misc
Closes #7030, closes #6967
Diffstat (limited to 'yt_dlp/jsinterp.py')
-rw-r--r-- | yt_dlp/jsinterp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/jsinterp.py b/yt_dlp/jsinterp.py index 965b1c0f2..82974fb27 100644 --- a/yt_dlp/jsinterp.py +++ b/yt_dlp/jsinterp.py @@ -248,7 +248,7 @@ class JSInterpreter: return counters = {k: 0 for k in _MATCHING_PARENS.values()} start, splits, pos, delim_len = 0, 0, 0, len(delim) - 1 - in_quote, escaping, after_op, in_regex_char_group, in_unary_op = None, False, True, False, False + in_quote, escaping, after_op, in_regex_char_group = None, False, True, False for idx, char in enumerate(expr): if not in_quote and char in _MATCHING_PARENS: counters[_MATCHING_PARENS[char]] += 1 |