AsyncWgetFileGetter: Remove base64 encoding from command line debug
authorRalf Ertzinger <ralf@skytale.net>
Wed, 8 Jun 2011 18:21:17 +0000 (20:21 +0200)
committerRalf Ertzinger <ralf@skytale.net>
Wed, 8 Jun 2011 18:21:17 +0000 (20:21 +0200)
videosite/AsyncWgetFileGetter.pm

index 9f330c6..ef54e92 100644 (file)
@@ -55,7 +55,7 @@ sub get {
 
     $cookie = "--header=\"Cookie: $video->{'COOKIE'}\"" if (defined $video->{'COOKIE'});
     my $cmdline = "( wget -q -O\"$tmpfile\" $cookie \"$video->{'DLURL'}\" && mv \"$tmpfile\" \"$dlfile\" && chmod =rw \"$dlfile\" && touch \"$dlfile\" || rm -f \"$tmpfile\" ) &";
-    $self->debug(encode_base64($cmdline));
+    $self->debug("Going to execute: %s", $cmdline);
     system($cmdline);
 
     return 1;