Explorar el Código

Less warnings

Zachary Kotlarek hace 8 años
padre
commit
56ff20aa74
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      yt/subscribe.pl

+ 1 - 1
yt/subscribe.pl

@@ -791,8 +791,8 @@ sub getSubscriptions($) {
 				|| ref($item->{'snippet'}->{'resourceId'}) ne 'HASH'
 				|| !exists($item->{'snippet'}->{'resourceId'}->{'channelId'}))
 			{
-				warn($NAME . ": Skipping invalid subscription\n");
 				if ($DEBUG > 2) {
+					warn($NAME . ": Skipping invalid subscription\n");
 					print STDERR prettyPrint($item, "\t") . "\n";
 				}
 				next;