修复bug

This commit is contained in:
nilaoda 2022-08-27 22:14:25 +08:00
parent 9bf57058cf
commit 07329d2a41
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ namespace N_m3u8DL_RE.CommandLine
else else
{ {
forStr = p.GetValue("for") ?? "best"; forStr = p.GetValue("for") ?? "best";
if (forStr != ForStrRegex().Match(input).Value) if (forStr != ForStrRegex().Match(forStr).Value)
{ {
result.ErrorMessage = $"for={forStr} not valid"; result.ErrorMessage = $"for={forStr} not valid";
return null; return null;