From 316adb33df754bffc35b328ec85f11378dc9bcc8 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Fri, 15 Aug 2014 10:19:26 -0400 Subject: [PATCH] Mod should be based on the current count. --- dc-download-videos.plx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dc-download-videos.plx b/dc-download-videos.plx index c61f051..46a56e0 100755 --- a/dc-download-videos.plx +++ b/dc-download-videos.plx @@ -131,7 +131,7 @@ foreach my $videoURL (@allVideoLinks) { print STDERR ".... already have.\n"; next; } - if ( ($startCount % 10) == 0) { + if ( ($count % 10) == 0) { print STDERR " ... redoing login ..."; &redo_login; }