Skip to content

Commit

Permalink
Make sure that it's checking the right value
Browse files Browse the repository at this point in the history
yikes
  • Loading branch information
murrty committed Sep 12, 2022
1 parent 897cf10 commit 1f5972e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube-dl-gui/Forms/frmArchiveDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private void Download(bool Extended) {
URL = URL[..11];
}

if (!new Regex(@"^[a-zA-Z0-9-_]{11}$").IsMatch(txtArchiveDownloaderHint.Text)) {
if (!new Regex(@"^[a-zA-Z0-9-_]{11}$").IsMatch(URL)) {
txtArchiveDownloaderHint.Focus();
System.Media.SystemSounds.Exclamation.Play();
return;
Expand Down

0 comments on commit 1f5972e

Please sign in to comment.